Xceed DataGrid for Silverlight Documentation
InsertionCellStyle Property (Column)
Example 


Gets or sets the style that will be applied to all insertion cells associated with the column.
Syntax
'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;}

Property Value

The Style that will be applied to all insertion cells (see InsertionCell class) associated with the column. The specified style must target the InsertionCell type (see TargetType property of Style class) otherwise an exception will be thrown.
Remarks
If a style is explicitly provided via the InsertionCellStyle property, it will override any implicit styles.
Example
<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>
Requirements

Target Platforms: Windows 7, Windows Vista, Windows XP SP3, Windows Server 2008 family

See Also

Reference

Column Class
Column Members

Send Feedback