ClassExpandableStackLayout
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class ExpandableStackLayout : StackLayoutPanel, IDisposable, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IStylableNode
Inheritance: objectDisposableObjectRadObjectRadElementLayoutPanelStackLayoutPanelExpandableStackLayout
Implements:
Inherited Members
Constructors
ExpandableStackLayout()
Declaration
public ExpandableStackLayout()
Fields
CollapsingEnabledProperty
Declaration
public static RadProperty CollapsingEnabledProperty
Field Value
Properties
CollapsibleChildren1
Declaration
protected List<CollapsibleElement> CollapsibleChildren1 { get; set; }
Property Value
List<CollapsibleElement>
CollapsingEnabled
Gets or sets a boolean value determining whether the layout panel will collapse its content according to its size.
Methods
GetElementToCollapse(out int)
Declaration
protected CollapsibleElement GetElementToCollapse(out int possibleCollapseStep)
Parameters
possibleCollapseStep
Returns
GetElementToExpand(float, float, out int)
Declaration
protected CollapsibleElement GetElementToExpand(float sumAllElementsWidth, float availableWidth, out int possibleExpandStep)
Parameters
sumAllElementsWidth
availableWidth
possibleExpandStep
Returns
InvalidateAll(RadElement)
Declaration
public static void InvalidateAll(RadElement baseElement)
Parameters
baseElement
MeasureOverride(SizeF)
Measures the space required by the RadElement
Used by the layout system.
Declaration
protected override SizeF MeasureOverride(SizeF constraint)
Parameters
constraint
Returns
The minimum size required by the element to be completely visible. Cannot be infinity.
Overrides
Remarks
In this method call to the Measure method of each child must be made.
OnChildrenChanged(RadElement, ItemsChangeOperation)
Declaration
protected override void OnChildrenChanged(RadElement child, ItemsChangeOperation changeOperation)
Parameters
child
changeOperation
Overrides
SetCollapsingEnabled(RadElement, bool)
Declaration
public static void SetCollapsingEnabled(RadElement rootElement, bool enabled)
Parameters
rootElement
enabled