WPF file relationships
Your Form The major files MainWindow.xaml MainWindow.xaml.cs namespace Listview1 public partial class App : Application <Application x:Class="Listview1.App" App.xaml <Window x:Class="Listview1.MainWindow" namespace Listview1 App.xaml.cs
<Window x:Class="Listview1.MainWindow"[name of namespace] xmlns=" xmlns:x=" Title="MainWindow" Height="350" Width="525" > [specifiy the rows and columns for arranging content] <DataGrid x:Name="Userdata_DG1" [datagrid options (size, position,etc. go here] > [the actual datagrid content "could" be described here, but is not in my example] MainWindow.xaml (code skeleton) define form elements here from toolbox
MainWindow.xaml.cs (code skeleton)
App.xaml <Application x:Class="Listview1.App" xmlns=" xmlns:x=" StartupUri="MainWindow.xaml">
App.xaml.cs using System; using System.Collections.Generic; using System.Configuration; using System.Data; using System.Linq; using System.Threading.Tasks; using System.Windows; namespace Listview1 { /// /// Interaction logic for App.xaml /// public partial class App : Application { }