Xceed DataGrid for Silverlight Documentation
ColumnBackgroundControl Class
Members 


Represents the vertical rectangle that is displayed as a column's background.
Syntax
'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  
Remarks

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.

Inheritance Hierarchy

System.Object
   System.Windows.DependencyObject
      System.Windows.UIElement
         System.Windows.FrameworkElement
            System.Windows.Controls.Control
               Xceed.Silverlight.DataGrid.ControlBase
                  Xceed.Silverlight.DataGrid.ColumnBackgroundControl

Requirements

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

See Also

Reference

ColumnBackgroundControl Members
Xceed.Silverlight.DataGrid Namespace

Send Feedback