Gets a collection of
DataGridItemProperty objects that belong to a given DataGridItemProperty.
Property Value
A
DataGridItemPropertyCollection containing the
DataGridItemProperty objects that determine the characteristics of the items contained in the DataGridItemProperty.
The following example demonstrates how add the property "Person.FirstName" in the DataGridCollectionView.
<Grid xmlns:xcdg="http://schemas.xceed.com/wpf/xaml/datagrid"
xmlns:s="clr-namespace:System;assembly=mscorlib">
<Grid.Resources>
<xcdg:DataGridCollectionViewSource x:Key="cvs_clients"
Source="{Binding Source={x:Static Application.Current}, Path=Clients}">
<xcdg:DataGridCollectionViewSource.ItemProperties>
<xcdg:DataGridItemProperty Name="Person">
<xcdg:DataGridItemProperty.ItemProperties>
<xcdg:DataGridItemProperty Name="FirstName" />
</xcdg:DataGridItemProperty.ItemProperties>
</xcdg:DataGridItemProperty>
</xcdg:DataGridCollectionViewSource.ItemProperties>
</xcdg:DataGridCollectionViewSource>
</Grid.Resources>
</Grid>
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