Xceed.Silverlight.DataGrid.v2.0 Assembly > Xceed.Silverlight.DataGrid Namespace > Column Class : InsertionCellStyle Property |
'Declaration Public Property InsertionCellStyle As Style
'Usage Dim instance As Column Dim value As Style instance.InsertionCellStyle = value value = instance.InsertionCellStyle
public Style InsertionCellStyle {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