Class
CollapsibleStackPanel

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:

cs-api-definition
public class CollapsibleStackPanel : Panel

Inheritance: objectCollapsibleStackPanel

Constructors

CollapsibleStackPanel()

Declaration

cs-api-definition
public CollapsibleStackPanel()

Fields

IsExpandedProperty

Identifies the IsExpanded dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty IsExpandedProperty

Field Value

DependencyProperty

MaxVisibleChildrenProperty

Identifies the MaxVisibleChildren dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty MaxVisibleChildrenProperty

Field Value

DependencyProperty

Properties

HiddenChildrenCount

Gets the number of children that are currently hidden.

Declaration

cs-api-definition
public int HiddenChildrenCount { get; }

Property Value

int

IsExpanded

Gets or sets whether all children are visible.

Declaration

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

Property Value

bool

MaxVisibleChildren

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

Declaration

cs-api-definition
public int MaxVisibleChildren { get; set; }

Property Value

int

Methods

ArrangeOverride(Size)

Declaration

cs-api-definition
protected override Size ArrangeOverride(Size finalSize)

Parameters

finalSize

Size

Returns

Size

MeasureOverride(Size)

Declaration

cs-api-definition
protected override Size MeasureOverride(Size availableSize)

Parameters

availableSize

Size

Returns

Size