Xceed.Silverlight.DataGrid.v2.0 Assembly > Xceed.Silverlight.DataGrid Namespace > Column Class : ColumnManagerCellStyle Property |
'Declaration Public Property ColumnManagerCellStyle As Style
'Usage Dim instance As Column Dim value As Style instance.ColumnManagerCellStyle = value value = instance.ColumnManagerCellStyle
public Style ColumnManagerCellStyle {get; set;}
<sldg:DataGridControl x:Name="sldgDataGridControl" ItemsSource="{Binding Path=Orders}" DefaultHeadersFooters="ColumnManagerRow, GroupByControl, FilterRow, InsertionRow" > <sldg:DataGridControl.Resources> <Style TargetType="sldg:InsertionCell" x:Key="orderIDInsertionCellStyle"> <Setter Property="Background" Value="DeepPink" /> </Style> <Style TargetType="sldg:InsertionCell"> <Setter Property="Background" Value="DarkGoldenrod" /> </Style> <Style TargetType="sldg:ColumnManagerCell" x:Key="orderIDColumnManagerCellStyle"> <Setter Property="Background" Value="DeepPink" /> </Style> </sldg:DataGridControl.Resources> <sldg:DataGridControl.Columns> <sldg:Column FieldName="OrderID" InsertionCellStyle="{StaticResource orderIDInsertionCellStyle}" ColumnManagerCellStyle="{StaticResource orderIDColumnManagerCellStyle}"/> </sldg:DataGridControl.Columns> </sldg:DataGridControl>
Target Platforms: Windows 7, Windows Vista, Windows XP SP3, Windows Server 2008 family