Content Control that represent the header of a column, this control contains the sort, resize and filter elements.
Object Model
Syntax
'Declaration
<System.Windows.TemplateVisualStateAttribute(Name="Filtering", GroupName="OptionsStates")>
<System.Windows.TemplatePartAttribute(Name="Sort", Type=System.Windows.Controls.Primitives.ToggleButton)>
<System.Windows.TemplatePartAttribute(Name="Options", Type=C1.Silverlight.C1DropDown)>
<System.Windows.TemplatePartAttribute(Name="Remove", Type=System.Windows.Controls.Button)>
<System.Windows.TemplateVisualStateAttribute(Name="Undefined", GroupName="OptionsStates")>
<System.Windows.TemplatePartAttribute(Name="Resize", Type=System.Windows.FrameworkElement)>
<System.Windows.TemplateVisualStateAttribute(Name="Unselected", GroupName="SelectionStates")>
<System.Windows.TemplateVisualStateAttribute(Name="Selected", GroupName="SelectionStates")>
<System.Windows.TemplateVisualStateAttribute(Name="Editing", GroupName="SelectionStates")>
<System.Windows.TemplateVisualStateAttribute(Name="Merging", GroupName="MergingStates")>
<System.Windows.TemplateVisualStateAttribute(Name="NotMerging", GroupName="MergingStates")>
<System.Windows.TemplateVisualStateAttribute(Name="MouseOver", GroupName="CommonStates")>
<System.Windows.TemplateVisualStateAttribute(Name="Disabled", GroupName="CommonStates")>
<System.Windows.TemplateVisualStateAttribute(Name="Normal", GroupName="CommonStates")>
Public Class DataGridColumnHeaderPresenter
Inherits System.Windows.Controls.ContentControl
[System.Windows.TemplateVisualState(Name="Filtering", GroupName="OptionsStates")]
[System.Windows.TemplatePart(Name="Sort", Type=System.Windows.Controls.Primitives.ToggleButton)]
[System.Windows.TemplatePart(Name="Options", Type=C1.Silverlight.C1DropDown)]
[System.Windows.TemplatePart(Name="Remove", Type=System.Windows.Controls.Button)]
[System.Windows.TemplateVisualState(Name="Undefined", GroupName="OptionsStates")]
[System.Windows.TemplatePart(Name="Resize", Type=System.Windows.FrameworkElement)]
[System.Windows.TemplateVisualState(Name="Unselected", GroupName="SelectionStates")]
[System.Windows.TemplateVisualState(Name="Selected", GroupName="SelectionStates")]
[System.Windows.TemplateVisualState(Name="Editing", GroupName="SelectionStates")]
[System.Windows.TemplateVisualState(Name="Merging", GroupName="MergingStates")]
[System.Windows.TemplateVisualState(Name="NotMerging", GroupName="MergingStates")]
[System.Windows.TemplateVisualState(Name="MouseOver", GroupName="CommonStates")]
[System.Windows.TemplateVisualState(Name="Disabled", GroupName="CommonStates")]
[System.Windows.TemplateVisualState(Name="Normal", GroupName="CommonStates")]
public class DataGridColumnHeaderPresenter : System.Windows.Controls.ContentControl
Inheritance Hierarchy
System.Object
System.Windows.DependencyObject
System.Windows.UIElement
System.Windows.FrameworkElement
System.Windows.Controls.Control
System.Windows.Controls.ContentControl
C1.Silverlight.DataGrid.DataGridColumnHeaderPresenter
C1.Silverlight.DataGrid.DataGridGroupColumnHeaderPresenter
See Also