Represents the characteristics of a property for an item in a
DataGridCollectionView.
The following example demonstrates how to provide, through a style, a new ControlTemplate for DataRow objects. A new ControlTemplate has also been provided for the grid in order to change its ScrollViewer to a WrapPanel.
The columns that are contained in the grid will be limited to those specified in the ItemProperties of the DataGridCollectionViewSource.
This example assumes that the grid is bound to the Employees table of the Northwind database.
Target Platforms: Windows 11, Windows 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2