ClassStackLayoutPanel
Arranges child elements into a single line that can be oriented horizontally or vertically.
Definition
Namespace:Telerik.WinControls.Layouts
Assembly:Telerik.WinControls.dll
Syntax:
public class StackLayoutPanel : LayoutPanel, IDisposable, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IStylableNode
Inheritance: objectDisposableObjectRadObjectRadElementLayoutPanelStackLayoutPanel
Derived Classes:
Implements:
Inherited Members
Constructors
StackLayoutPanel()
Declaration
public StackLayoutPanel()
Fields
EqualChildrenHeightProperty
Declaration
public static readonly RadProperty EqualChildrenHeightProperty
Field Value
EqualChildrenWidthProperty
Declaration
public static readonly RadProperty EqualChildrenWidthProperty
Field Value
FlipMaxSizeDimensionsProperty
Declaration
[Obsolete("The property is not relevant for this class.")]
public static RadProperty FlipMaxSizeDimensionsProperty
Field Value
Properties
EqualChildrenHeight
Gets or sets a value indicating whether the elements have equal height.
EqualChildrenWidth
Gets or sets a value indicating whether the elements have equal width.
InvalidateChildrenOnChildChanged
Notifies all children when same child changes. Effectively redraws all children in the panel.
Declaration
public override bool InvalidateChildrenOnChildChanged { get; }
Property Value
Overrides
Orientation
Gets or sets the elements orientation inside the stack layout. Possible values are horizontal and vertical.
Declaration
public Orientation Orientation { get; set; }
Property Value
Methods
ArrangeOverride(SizeF)
ArrangeOverride
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.