Class
HeaderedItemsControl

Represents a control that contains multiple items and has a header.

Definition

Namespace:Telerik.UI.Xaml.Controls

Assembly:Telerik.WinUI.Controls.dll

Syntax:

cs-api-definition
public class HeaderedItemsControl : RadItemsControl

Inheritance: objectRadItemsControlHeaderedItemsControl

Derived Classes: MapLegendRadRibbonGroupRadRibbonTab

Inherited Members RadItemsControl.PrepareContainerForItemOverride(DependencyObject, object)

Constructors

HeaderedItemsControl()

Initializes a new instance of the HeaderedItemsControl class.

Declaration

cs-api-definition
public HeaderedItemsControl()

Fields

FocusVisualStyleProperty

Identifies the FocusVisualStyle property.

Declaration

cs-api-definition
public static readonly DependencyProperty FocusVisualStyleProperty

Field Value

DependencyProperty

HasHeaderProperty

Identifies the HasHeader dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty HasHeaderProperty

Field Value

DependencyProperty

HeaderProperty

Identifies the Header dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty HeaderProperty

Field Value

DependencyProperty

HeaderTemplateProperty

Identifies the HeaderTemplate dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty HeaderTemplateProperty

Field Value

DependencyProperty

HeaderTemplateSelectorProperty

Identifies the HeaderTemplateSelector dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty HeaderTemplateSelectorProperty

Field Value

DependencyProperty

Properties

FocusVisualStyle

Gets or sets the style used by the focus visual of the control. This is a dependency property.

Declaration

cs-api-definition
public Style FocusVisualStyle { get; set; }

Property Value

Style

Header

Gets or sets the item that labels the control. This is a dependency property.

Declaration

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

Property Value

object

HeaderTemplate

Gets or sets the template used to display the contents of the control's header. This is a dependency property.

Declaration

cs-api-definition
public DataTemplate HeaderTemplate { get; set; }

Property Value

DataTemplate

HeaderTemplateSelector

Gets or sets the object that provides custom selection logic for a template used to display the header of each item. This is a dependency property.

Declaration

cs-api-definition
[Browsable(false)]
public DataTemplateSelector HeaderTemplateSelector { get; set; }

Property Value

DataTemplateSelector

Methods

OnHeaderChanged(object, object)

Called when the Header property of a HeaderedItemsControl changes.

Declaration

cs-api-definition
protected virtual void OnHeaderChanged(object oldHeader, object newHeader)

Parameters

oldHeader

object

The old value of the Header property.

newHeader

object

The new value of the Header property.

OnHeaderTemplateChanged(DataTemplate, DataTemplate)

Called when the HeaderTemplate property of a HeaderedItemsControl changes.

Declaration

cs-api-definition
protected virtual void OnHeaderTemplateChanged(DataTemplate oldHeaderTemplate, DataTemplate newHeaderTemplate)

Parameters

oldHeaderTemplate

DataTemplate

The old value of the HeaderTemplate property.

newHeaderTemplate

DataTemplate

The new value of the HeaderTemplate property.

OnHeaderTemplateSelectorChanged(DataTemplateSelector, DataTemplateSelector)

Called when the HeaderTemplateSelector property of a HeaderedItemsControl changes.

Declaration

cs-api-definition
protected virtual void OnHeaderTemplateSelectorChanged(DataTemplateSelector oldHeaderTemplateSelector, DataTemplateSelector newHeaderTemplateSelector)

Parameters

oldHeaderTemplateSelector

DataTemplateSelector

The old value of the HeaderTemplateSelector property.

newHeaderTemplateSelector

DataTemplateSelector

The new value of the HeaderTemplateSelector property.