Class
RadExpander

A HeaderContentControl used to create interactive Expand/Collapse control.

Definition

Namespace:Telerik.UI.Xaml.Controls.Primitives

Assembly:Telerik.WinUI.Controls.dll

Syntax:

cs-api-definition
public class RadExpander : HeaderedContentControl

Inheritance: objectHeaderedContentControlRadExpander

Inherited Members HeaderedContentControl.HasHeaderPropertyHeaderedContentControl.HeaderPropertyHeaderedContentControl.HeaderTemplatePropertyHeaderedContentControl.FocusVisualStylePropertyHeaderedContentControl.HeaderTemplateSelectorPropertyHeaderedContentControl.IsFocusedPropertyHeaderedContentControl.ChangeVisualState()HeaderedContentControl.ChangeVisualState(bool)HeaderedContentControl.OnIsEnabledChanged(DependencyPropertyChangedEventArgs)HeaderedContentControl.OnHeaderChanged(object, object)HeaderedContentControl.OnHeaderTemplateChanged(DataTemplate, DataTemplate)HeaderedContentControl.OnIsFocusedChanged(DependencyPropertyChangedEventArgs)HeaderedContentControl.OnGotFocus(RoutedEventArgs)HeaderedContentControl.OnLostFocus(RoutedEventArgs)HeaderedContentControl.HasHeaderHeaderedContentControl.IsFocusedHeaderedContentControl.HeaderHeaderedContentControl.FocusVisualStyleHeaderedContentControl.HeaderTemplateHeaderedContentControl.HeaderTemplateSelector

Constructors

RadExpander()

Initializes a new instance of the RadExpander class.

Declaration

cs-api-definition
public RadExpander()

Fields

ClickModeProperty

Identifies the ClickMode property.

Declaration

cs-api-definition
public static readonly DependencyProperty ClickModeProperty

Field Value

DependencyProperty

CollapsedEvent

Occurs when the ContentElement is Collapsed.

Declaration

cs-api-definition
public static readonly RoutedEvent CollapsedEvent

Field Value

RoutedEvent

ExpandDirectionProperty

Identifies the ExpandDirection property.

Declaration

cs-api-definition
public static readonly DependencyProperty ExpandDirectionProperty

Field Value

DependencyProperty

ExpandedEvent

Occurs when the ContentElement is Expanded.

Declaration

cs-api-definition
public static readonly RoutedEvent ExpandedEvent

Field Value

RoutedEvent

HeaderButtonStyleProperty

Identifies the HeaderButtonStyle property.

Declaration

cs-api-definition
public static readonly DependencyProperty HeaderButtonStyleProperty

Field Value

DependencyProperty

HeaderOrientationProperty

Identifies the HeaderOrientation property.

Declaration

cs-api-definition
public static readonly DependencyProperty HeaderOrientationProperty

Field Value

DependencyProperty

HorizontalHeaderAlignmentProperty

Identifies the HorizontalHeaderAlignment property.

Declaration

cs-api-definition
public static readonly DependencyProperty HorizontalHeaderAlignmentProperty

Field Value

DependencyProperty

IsExpandedProperty

Identifies the IsExpanded property.

Declaration

cs-api-definition
public static readonly DependencyProperty IsExpandedProperty

Field Value

DependencyProperty

IsHeaderPressedProperty

Identifies the IsHeaderPressed property.

Declaration

cs-api-definition
public static readonly DependencyProperty IsHeaderPressedProperty

Field Value

DependencyProperty

IsPointerOverHeaderProperty

Identifies the IsPointerOver property.

Declaration

cs-api-definition
public static readonly DependencyProperty IsPointerOverHeaderProperty

Field Value

DependencyProperty

PreviewCollapsedEvent

Identifies the PreviewCollapsed property.

Declaration

cs-api-definition
public static readonly RoutedEvent PreviewCollapsedEvent

Field Value

RoutedEvent

PreviewExpandedEvent

Identifies the PreviewExpanded property.

Declaration

cs-api-definition
public static readonly RoutedEvent PreviewExpandedEvent

Field Value

RoutedEvent

VerticalHeaderAlignmentProperty

Identifies the VerticalHeaderAlignment property.

Declaration

cs-api-definition
public static readonly DependencyProperty VerticalHeaderAlignmentProperty

Field Value

DependencyProperty

Properties

ClickMode

Gets or sets when the content will expand. This is a dependency property.

Declaration

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

Property Value

ClickMode

ExpandDirection

Gets or sets the direction in which the content would expand. This is a dependency property.

Declaration

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

Property Value

ExpandDirection

HeaderButtonStyle

Gets or sets the style which will be used for the HeaderButton. This is a dependency property.

Declaration

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

Property Value

Style

HeaderOrientation

Gets or sets the orientation of the expand Header.

Declaration

cs-api-definition
public Orientation HeaderOrientation { get; }

Property Value

Orientation

HorizontalHeaderAlignment

Gets or sets the horizontal alignment of the expand Header.

Declaration

cs-api-definition
public HorizontalAlignment HorizontalHeaderAlignment { get; set; }

Property Value

HorizontalAlignment

IsExpanded

Gets or sets whether the content is expanded. This is a dependency property.

Declaration

cs-api-definition
public bool IsExpanded { get; set; }

Property Value

bool

IsHeaderPressed

Gets the IsHeaderPressed property.

Declaration

cs-api-definition
public bool IsHeaderPressed { get; set; }

Property Value

bool

IsPointerOverHeader

Gets the IsPointerOverHeader property.

Declaration

cs-api-definition
public bool IsPointerOverHeader { get; }

Property Value

bool

VerticalHeaderAlignment

Gets or sets the horizontal alignment of the expand Header.

Declaration

cs-api-definition
public VerticalAlignment VerticalHeaderAlignment { get; set; }

Property Value

VerticalAlignment

Methods

OnApplyTemplate()

Invoked whenever application code or internal processes (such as a rebuilding layout pass) call .

Declaration

cs-api-definition
protected override void OnApplyTemplate()

Overrides HeaderedContentControl.OnApplyTemplate()

OnCreateAutomationPeer()

Declaration

cs-api-definition
protected override AutomationPeer OnCreateAutomationPeer()

Returns

AutomationPeer

Events

Collapsed

Occurs when the content is Collapsed.

Declaration

cs-api-definition
public event RadRoutedEventHandler Collapsed

Event Value

RadRoutedEventHandler

Expanded

Occurs when the content is Expanded.

Declaration

cs-api-definition
public event RadRoutedEventHandler Expanded

Event Value

RadRoutedEventHandler

PreviewCollapsed

Occurs when the content will be Collapsed. If the event handler set True for the Handled property then the content will not collapse.

Declaration

cs-api-definition
public event RadRoutedEventHandler PreviewCollapsed

Event Value

RadRoutedEventHandler

PreviewExpanded

Occurs when the content will be Expanded. If the event handler set True for the Handled property then the content will not expand.

Declaration

cs-api-definition
public event RadRoutedEventHandler PreviewExpanded

Event Value

RadRoutedEventHandler