Xceed.Silverlight.DataGrid.v2.0 Assembly > Xceed.Silverlight.DataGrid Namespace : DataGridGroupConfiguration Class |
'Declaration <StyleTypedPropertyAttribute(Property="GroupHeaderStyle", StyleTargetType=Xceed.Silverlight.DataGrid.GroupHeaderControl)> Public Class DataGridGroupConfiguration Inherits DataGridConfiguration Implements MS.Internal.IManagedPeer, MS.Internal.IManagedPeerBase, MS.Internal.INativeCoreTypeWrapper
'Usage Dim instance As DataGridGroupConfiguration
[StyleTypedPropertyAttribute(Property="GroupHeaderStyle", StyleTargetType=Xceed.Silverlight.DataGrid.GroupHeaderControl)] public class DataGridGroupConfiguration : DataGridConfiguration, MS.Internal.IManagedPeer, MS.Internal.IManagedPeerBase, MS.Internal.INativeCoreTypeWrapper
The code for the FlagPathConverter class can be found in the Additional Resources section of the documentation.
<sldg:DataGridGroupDescription PropertyName="ShipCountry"> <sldg:DataGridGroupDescription.GroupConfiguration> <sldg:DataGridGroupConfiguration> <sldg:DataGridGroupConfiguration.GroupValueTemplate> <DataTemplate> <StackPanel Orientation="Horizontal"> <!--The flagPathConverter resource changes the value of a group (e.g., "Canada") to an image. --> <Image Source="{Binding Converter={StaticResource flagPathConverter}}" Margin="0, 0, 5, 0"/> <TextBlock Text="{Binding}" VerticalAlignment="Center"/> </StackPanel> </DataTemplate> </sldg:DataGridGroupConfiguration.GroupValueTemplate> </sldg:DataGridGroupConfiguration> </sldg:DataGridGroupDescription.GroupConfiguration> </sldg:DataGridGroupDescription> <sldg:DataGridGroupDescription PropertyName="ShipCity" />
System.Object
System.Windows.DependencyObject
Xceed.Silverlight.DataGrid.DataGridConfiguration
Xceed.Silverlight.DataGrid.DataGridGroupConfiguration
Target Platforms: Windows 7, Windows Vista, Windows XP SP3, Windows Server 2008 family