Class HeaderedItemsControl
Represents a control that contains multiple items and has a header.
Inherited Members
Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.dll
Syntax
public class HeaderedItemsControl : ItemsControl
Constructors
HeaderedItemsControl()
Initializes a new instance of the HeaderedItemsControl class.
Declaration
public HeaderedItemsControl()
Fields
FocusVisualStyleProperty
Identifies the FocusVisualStyle property.
Declaration
public static readonly DependencyProperty FocusVisualStyleProperty
Field Value
System.Windows.DependencyProperty
|
HasHeaderProperty
Identifies the HasHeader dependency property.
Declaration
public static readonly DependencyProperty HasHeaderProperty
Field Value
System.Windows.DependencyProperty
|
HeaderProperty
Identifies the Header dependency property.
Declaration
public static readonly DependencyProperty HeaderProperty
Field Value
System.Windows.DependencyProperty
|
HeaderTemplateProperty
Identifies the HeaderTemplate dependency property.
Declaration
public static readonly DependencyProperty HeaderTemplateProperty
Field Value
System.Windows.DependencyProperty
|
HeaderTemplateSelectorProperty
Identifies the HeaderTemplateSelector dependency property.
Declaration
public static readonly DependencyProperty HeaderTemplateSelectorProperty
Field Value
System.Windows.DependencyProperty
|
Properties
FocusVisualStyle
Gets or sets the style used by the focus visual of the control. This is a dependency property.
Declaration
[SRCategory("AppearanceCategory")]
public Style FocusVisualStyle { get; set; }
Property Value
System.Windows.Style
|
HasHeader
Gets a value that indicates whether this HeaderedItemsControl has a header. This is a dependency property.
Declaration
public bool HasHeader { get; }
Property Value
System.Boolean
|
Header
Gets or sets the item that labels the control. This is a dependency property.
Declaration
[SRCategory("ContentCategory")]
[SRDescription("HeaderedItemsControlHeaderDescription")]
public object Header { get; set; }
Property Value
System.Object
|
HeaderTemplate
Gets or sets the template used to display the contents of the control's header. This is a dependency property.
Declaration
[SRCategory("ContentCategory")]
[SRDescription("HeaderedItemsControlHeaderDescription")]
public DataTemplate HeaderTemplate { get; set; }
Property Value
System.Windows.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
public DataTemplateSelector HeaderTemplateSelector { get; set; }
Property Value
DataTemplateSelector
|
Methods
OnApplyTemplate()
Provides a design-time value for the header if it is not set.
Declaration
public override void OnApplyTemplate()
Overrides
OnHeaderChanged(Object, Object)
Called when the Header property of a HeaderedItemsControl changes.
Declaration
protected virtual void OnHeaderChanged(object oldHeader, object newHeader)
Parameters
System.Object
oldHeader
The old value of the Header property. |
System.Object
newHeader
The new value of the Header property. |
OnHeaderTemplateChanged(DataTemplate, DataTemplate)
Called when the HeaderTemplate property of a HeaderedItemsControl changes.
Declaration
protected virtual void OnHeaderTemplateChanged(DataTemplate oldHeaderTemplate, DataTemplate newHeaderTemplate)
Parameters
System.Windows.DataTemplate
oldHeaderTemplate
The old value of the HeaderTemplate property. |
System.Windows.DataTemplate
newHeaderTemplate
The new value of the HeaderTemplate property. |
OnHeaderTemplateSelectorChanged(DataTemplateSelector, DataTemplateSelector)
Called when the HeaderTemplateSelector property of a HeaderedItemsControl changes.
Declaration
protected virtual void OnHeaderTemplateSelectorChanged(DataTemplateSelector oldHeaderTemplateSelector, DataTemplateSelector newHeaderTemplateSelector)
Parameters
DataTemplateSelector
oldHeaderTemplateSelector
The old value of the HeaderTemplateSelector property. |
DataTemplateSelector
newHeaderTemplateSelector
The new value of the HeaderTemplateSelector property. |