Class
DataGridColumnHeader

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:

cs-api-definition
public sealed class DataGridColumnHeader : RadControl

Inheritance: objectRadControlDataGridColumnHeader

Inherited Members RadControl.CurrentVisualState

Constructors

DataGridColumnHeader()

Initializes a new instance of the DataGridColumnHeader class.

Declaration

cs-api-definition
public DataGridColumnHeader()

Fields

ContentProperty

Identifies the Content dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ContentProperty

Field Value

DependencyProperty

FilterGlyphVisibilityProperty

Identifies the FilterGlyphVisibility dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty FilterGlyphVisibilityProperty

Field Value

DependencyProperty

ResizeHandleVisiblityProperty

Identifies the FilterGlyphVisibility dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ResizeHandleVisiblityProperty

Field Value

DependencyProperty

SortDirectionProperty

Identifies the SortDirection dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty SortDirectionProperty

Field Value

DependencyProperty

Properties

Content

Gets or sets the arbitrary content displayed by the header.

Declaration

cs-api-definition
public object Content { get; set; }

Property Value

object

FilterGlyphVisibility

Gets or sets the visibility of the filter glyph displayed on the right of the header.

Declaration

cs-api-definition
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

cs-api-definition
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

cs-api-definition
public SortDirection SortDirection { get; set; }

Property Value

SortDirection

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.

Declaration

cs-api-definition
protected override bool ApplyTemplateCore()

Returns

bool

Overrides RadControl.ApplyTemplateCore()

ArrangeOverride(Size)

Provides the behavior for the Arrange pass of layout. Classes can override this method to define their own Arrange pass behavior.

Declaration

cs-api-definition
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 RadControl.ArrangeOverride(Size)

ComposeVisualStateName()

Builds the current visual state for this instance.

Declaration

cs-api-definition
protected override string ComposeVisualStateName()

Returns

string

Overrides RadControl.ComposeVisualStateName()

OnCreateAutomationPeer()

Declaration

cs-api-definition
protected override AutomationPeer OnCreateAutomationPeer()

Returns

AutomationPeer

Overrides RadControl.OnCreateAutomationPeer()

OnPointerEntered(PointerRoutedEventArgs)

Declaration

cs-api-definition
protected override void OnPointerEntered(PointerRoutedEventArgs e)

Parameters

e

PointerRoutedEventArgs

OnPointerExited(PointerRoutedEventArgs)

Declaration

cs-api-definition
protected override void OnPointerExited(PointerRoutedEventArgs e)

Parameters

e

PointerRoutedEventArgs

OnTapped(TappedRoutedEventArgs)

Called before the Tapped event occurs.

Declaration

cs-api-definition
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

cs-api-definition
protected override void OnTemplateApplied()

Overrides RadControl.OnTemplateApplied()

UnapplyTemplateCore()

Removes the current control template. Occurs when a template has already been applied and a new one is applied.

Declaration

cs-api-definition
protected override void UnapplyTemplateCore()

Overrides RadControl.UnapplyTemplateCore()