ClassDataGridColumnHeader
Defines the visual representation of a column header within a RadDataGrid control.
Definition
Namespace:Telerik.UI.Xaml.Controls.Grid.Primitives
Assembly:Telerik.WinUI.Controls.dll
Syntax:
public sealed class DataGridColumnHeader : RadControl
Inheritance: objectRadControlDataGridColumnHeader
Inherited Members
Constructors
DataGridColumnHeader()
Initializes a new instance of the DataGridColumnHeader class.
Declaration
public DataGridColumnHeader()
Fields
ContentProperty
Identifies the Content dependency property.
Declaration
public static readonly DependencyProperty ContentProperty
Field Value
DependencyProperty
FilterGlyphVisibilityProperty
Identifies the FilterGlyphVisibility dependency property.
Declaration
public static readonly DependencyProperty FilterGlyphVisibilityProperty
Field Value
DependencyProperty
ResizeHandleVisiblityProperty
Identifies the FilterGlyphVisibility dependency property.
Declaration
public static readonly DependencyProperty ResizeHandleVisiblityProperty
Field Value
DependencyProperty
SortDirectionProperty
Identifies the SortDirection dependency property.
Declaration
public static readonly DependencyProperty SortDirectionProperty
Field Value
DependencyProperty
Properties
Content
Gets or sets the arbitrary content displayed by the header.
FilterGlyphVisibility
Gets or sets the visibility of the filter glyph displayed on the right of the header.
Declaration
public Visibility FilterGlyphVisibility { get; set; }
Property Value
Visibility
ResizeHandleVisiblity
Gets or sets the visibility of the resize handle displayed on the right of the header.
Declaration
public Visibility ResizeHandleVisiblity { get; set; }
Property Value
Visibility
SortDirection
Gets or sets the SortDirection value for the header. Typically this value is updated by the owning DataGridColumn.
Declaration
public SortDirection SortDirection { get; set; }
Property Value
Methods
ApplyTemplateCore()
Called when the Framework is called. Inheritors should override this method should they have some custom template-related logic. This is done to ensure that the property is properly initialized.
ArrangeOverride(Size)
Provides the behavior for the Arrange pass of layout. Classes can override this method to define their own Arrange pass behavior.
Declaration
protected override Size ArrangeOverride(Size finalSize)
Parameters
finalSize
Size
The final area within the parent that this object should use to arrange itself and its children.
Returns
Size
The actual size that is used after the element is arranged in layout.
Overrides
ComposeVisualStateName()
Builds the current visual state for this instance.
Declaration
protected override string ComposeVisualStateName()
Returns
Overrides
OnCreateAutomationPeer()
Declaration
protected override AutomationPeer OnCreateAutomationPeer()
Returns
AutomationPeer
Overrides
OnPointerEntered(PointerRoutedEventArgs)
Declaration
protected override void OnPointerEntered(PointerRoutedEventArgs e)
Parameters
e
PointerRoutedEventArgs
OnPointerExited(PointerRoutedEventArgs)
Declaration
protected override void OnPointerExited(PointerRoutedEventArgs e)
Parameters
e
PointerRoutedEventArgs
OnTapped(TappedRoutedEventArgs)
Called before the Tapped event occurs.
Declaration
protected override void OnTapped(TappedRoutedEventArgs e)
Parameters
e
TappedRoutedEventArgs
Event data for the event.
OnTemplateApplied()
Occurs when the method has been called and the template is already successfully applied.
Declaration
protected override void OnTemplateApplied()
Overrides
UnapplyTemplateCore()
Removes the current control template. Occurs when a template has already been applied and a new one is applied.
Declaration
protected override void UnapplyTemplateCore()
Overrides