New to Telerik UI for WPFStart a free 30-day trial

A HeaderedItemsControl used to create interactive Expand/Collapse control.

Definition

Namespace:Telerik.Windows.Controls.Timeline

Assembly:Telerik.Windows.Controls.DataVisualization.dll

Syntax:

C#
public class ExpandableHeaderedItemsControl : HeaderedItemsControl

Inheritance: objectExpandableHeaderedItemsControl

Derived Classes: TimelineItemGroupControl

Constructors

Initializes a new instance of the ExpandableHeaderedItemsControl class.

C#
public ExpandableHeaderedItemsControl()

Fields

CollapsedEvent

RoutedEvent

Occurs when the ContentElement is Collapsed.

C#
public static readonly RoutedEvent CollapsedEvent

ExpandedEvent

RoutedEvent

Occurs when the ContentElement is Expanded.

C#
public static readonly RoutedEvent ExpandedEvent

ExpandModeProperty

DependencyProperty

Identifies the ExpandMode dependency property.

C#
public static readonly DependencyProperty ExpandModeProperty

IsExpandedProperty

DependencyProperty

Identifies the IsExpanded dependency property.

C#
public static readonly DependencyProperty IsExpandedProperty

Identifies the PreviewCollapsed property.

C#
public static readonly RoutedEvent PreviewCollapsedEvent

Identifies the PreviewExpanded property.

C#
public static readonly RoutedEvent PreviewExpandedEvent

Properties

Gets or sets the expand mode.

C#
public GroupExpandMode ExpandMode { get; set; }
Property Value:

The expand mode.

Gets or sets a value, indicating whether the content element is expanded.

C#
public bool IsExpanded { get; set; }
Property Value:

A value, indicating whether the content element is expanded.

Methods

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

C#
public override void OnApplyTemplate()

Raises the event. This method is invoked whenever is set to true internally.

C#
protected override void OnInitialized(EventArgs e)
Parameters:eEventArgs

The RoutedEventArgs that contains the event data.

Events

Occurs when the content is Collapsed.

C#
public event RadRoutedEventHandler Collapsed

Occurs when the content Expanded.

C#
public event RadRoutedEventHandler Expanded

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

C#
public event RadRoutedEventHandler PreviewCollapsed

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

C#
public event RadRoutedEventHandler PreviewExpanded