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

Defines methods and properties for a calapsible element. For example, RadRibonBarChunk is a collapsible element.

Definition

Namespace:Telerik.WinControls.Layouts

Assembly:Telerik.WinControls.dll

Syntax:

C#
public interface ICollapsibleElement

Properties

Gets the max number of steps needed for collapsing the collapsible element.

C#
int CollapseMaxSteps { get; }

Gets the current collapse step for the collapsible element.

C#
int CollapseStep { get; set; }

Gets or sets a value indicating the expanded size of the element.

C#
Size ExpandedSize { get; set; }

Methods

Collapses the element.

C#
bool CollapseElement(Size preferredSize)
Parameters:preferredSizeSizeReturns:

bool

Expands the element.

C#
bool ExpandElement()
Returns:

bool