ClassHeaderedContentControl
Base class for the content controls that have a header.
Definition
Namespace:Telerik.UI.Xaml.Controls
Assembly:Telerik.WinUI.Controls.dll
Syntax:
public class HeaderedContentControl : ContentControl
Inheritance: objectHeaderedContentControl
Derived Classes:
Constructors
HeaderedContentControl()
Initializes a new instance of the HeaderedContentControl class.
Declaration
public HeaderedContentControl()
Fields
FocusVisualStyleProperty
Identifies the FocusVisualStyle property.
Declaration
public static readonly DependencyProperty FocusVisualStyleProperty
Field Value
DependencyProperty
HasHeaderProperty
Identifies the HasHeader property.
Declaration
public static readonly DependencyProperty HasHeaderProperty
Field Value
DependencyProperty
HeaderProperty
Identifies the Header property.
Declaration
public static readonly DependencyProperty HeaderProperty
Field Value
DependencyProperty
HeaderTemplateProperty
Identifies the HeaderTemplate property.
Declaration
public static readonly DependencyProperty HeaderTemplateProperty
Field Value
DependencyProperty
HeaderTemplateSelectorProperty
Identifies the HeaderTemplateSelector property.
Declaration
public static readonly DependencyProperty HeaderTemplateSelectorProperty
Field Value
DependencyProperty
IsFocusedProperty
Identifies the IsFocused property.
Declaration
public static readonly DependencyProperty IsFocusedProperty
Field Value
DependencyProperty
Properties
FocusVisualStyle
Gets or sets the style used by the focus visual of the control. This is a dependency property.
Declaration
public Style FocusVisualStyle { get; set; }
Property Value
Style
HasHeader
Gets whether there is header assigned. This is a dependency property.
Header
Gets or sets the header of the control. This is a dependency property.
HeaderTemplate
Gets or sets the data template for the header. This is a dependency property.
Declaration
public DataTemplate HeaderTemplate { get; set; }
Property Value
DataTemplate
HeaderTemplateSelector
Gets or sets a selector for the HeaderTemplate. This is a dependency property.
Declaration
[Browsable(false)]
public DataTemplateSelector HeaderTemplateSelector { get; set; }
Property Value
DataTemplateSelector
Methods
ChangeVisualState()
Changes the visual state of the control using transitions.
Declaration
protected virtual void ChangeVisualState()
ChangeVisualState(bool)
Updates the visual state of the control.
Declaration
protected virtual void ChangeVisualState(bool useTransitions)
Parameters
useTransitions
Indicates whether transitions should be used.
OnApplyTemplate()
When overridden in a derived class, is invoked whenever application code or internal processes (such as a rebuilding layout pass) call .
Declaration
protected override void OnApplyTemplate()
OnGotFocus(RoutedEventArgs)
Called before the event occurs.
Declaration
protected override void OnGotFocus(RoutedEventArgs e)
Parameters
e
RoutedEventArgs
The data for the event.
OnHeaderChanged(object, object)
Allows derived classes to act on header change.
OnHeaderTemplateChanged(DataTemplate, DataTemplate)
Allows derived classes to act on HeaderTemplate change.
Declaration
protected virtual void OnHeaderTemplateChanged(DataTemplate oldHeaderTemplate, DataTemplate newHeaderTemplate)
Parameters
oldHeaderTemplate
DataTemplate
The old header template.
newHeaderTemplate
DataTemplate
The new header template.
OnIsEnabledChanged(DependencyPropertyChangedEventArgs)
Invoked when the IsEnabled property of the control changes.
Declaration
protected virtual void OnIsEnabledChanged(DependencyPropertyChangedEventArgs e)
Parameters
e
DependencyPropertyChangedEventArgs
The information about the new and old value of the property.
OnIsFocusedChanged(DependencyPropertyChangedEventArgs)
Called when the IsFocused property changes.
Declaration
protected virtual void OnIsFocusedChanged(DependencyPropertyChangedEventArgs e)
Parameters
e
DependencyPropertyChangedEventArgs
Event args with the old and the new value of the property.
OnLostFocus(RoutedEventArgs)
Called before the event occurs.
Declaration
protected override void OnLostFocus(RoutedEventArgs e)
Parameters
e
RoutedEventArgs
The data for the event.