Data Grid
The Data Grid is a WPF control that uses a DataTable as input to populate a two-dimensional grid and to automatically determine its appearance. You can also hide columns on the input table that are not required.
A data grid's rows can be selected and individual cells can be edited. As a result, the two output DataTable properties are automatically populated: SelectedRows and OutputTable. The SelectedRows property outputs the selected row(s) as a new table. The OutputTable property displays the input table after it has been edited.
See Grids and Panels to view the usage and description of the properties for this control.