Xceed.Silverlight.DataGrid.v2.0 Assembly > Xceed.Silverlight.DataGrid Namespace : ColumnBackgroundControl Class |
'Declaration <TemplateVisualStateAttribute(Name="NotCurrent", GroupName="CurrentStates")> <TemplateVisualStateAttribute(GroupName="ColumnVisibilityStates", Name="Scrolling")> <TemplateVisualStateAttribute(GroupName="ColumnVisibilityStates", Name="Fixed")> <TemplateVisualStateAttribute(GroupName="CurrentStates", Name="Current")> Public Class ColumnBackgroundControl Inherits ControlBase Implements MS.Internal.IManagedPeer, MS.Internal.IManagedPeerBase, MS.Internal.INativeCoreTypeWrapper
'Usage Dim instance As ColumnBackgroundControl
[TemplateVisualStateAttribute(Name="NotCurrent", GroupName="CurrentStates")] [TemplateVisualStateAttribute(GroupName="ColumnVisibilityStates", Name="Scrolling")] [TemplateVisualStateAttribute(GroupName="ColumnVisibilityStates", Name="Fixed")] [TemplateVisualStateAttribute(GroupName="CurrentStates", Name="Current")] public class ColumnBackgroundControl : ControlBase, MS.Internal.IManagedPeer, MS.Internal.IManagedPeerBase, MS.Internal.INativeCoreTypeWrapper
By default, the ColumnBackgroundControl is used to display/change the background color of a background according to its "fixed" state; however, it could also be used to display, for example, the name of the column across all the column's cells.
The DataContext of a ColumnBackgroundControl will be its associated column.
System.Object
System.Windows.DependencyObject
System.Windows.UIElement
System.Windows.FrameworkElement
System.Windows.Controls.Control
Xceed.Silverlight.DataGrid.ControlBase
Xceed.Silverlight.DataGrid.ColumnBackgroundControl
Target Platforms: Windows 7, Windows Vista, Windows XP SP3, Windows Server 2008 family