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

A vertical stack panel that collapses children beyond MaxVisibleChildren when IsExpanded is false.

Definition

Namespace:Telerik.Windows.Controls.ConversationalUI

Assembly:Telerik.Windows.Controls.ConversationalUI.dll

Syntax:

C#
public class CollapsibleStackPanel : Panel

Inheritance: objectCollapsibleStackPanel

Constructors

C#
public CollapsibleStackPanel()

Fields

IsExpandedProperty

DependencyProperty

Identifies the IsExpanded dependency property.

C#
public static readonly DependencyProperty IsExpandedProperty

MaxVisibleChildrenProperty

DependencyProperty

Identifies the MaxVisibleChildren dependency property.

C#
public static readonly DependencyProperty MaxVisibleChildrenProperty

Properties

Gets the number of children that are currently hidden.

C#
public int HiddenChildrenCount { get; }

Gets or sets whether all children are visible.

C#
public bool IsExpanded { get; set; }

Gets or sets the maximum number of children to show when collapsed.

C#
public int MaxVisibleChildren { get; set; }

Methods

C#
protected override Size ArrangeOverride(Size finalSize)
Parameters:finalSizeSizeReturns:

Size

C#
protected override Size MeasureOverride(Size availableSize)
Parameters:availableSizeSizeReturns:

Size