Class BoxLayout
Represents the BoxLayout class
Inherited Members
Namespace: Telerik.WinControls.Layouts
Assembly: Telerik.WinControls.dll
Syntax
public class BoxLayout : LayoutPanel, IDisposable, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IStylableNode
Constructors
BoxLayout()
Declaration
public BoxLayout()
Fields
OrientationProperty
Registers the Orientation dependancy proeprty of BoxLayout
Declaration
public static readonly RadProperty OrientationProperty
Field Value
ProportionProperty
Registers the Proportion dependancy property of BoxLayout
Declaration
public static RadProperty ProportionProperty
Field Value
StripPositionProperty
Registers the StripPosition dependancy property of BoxLayout
Declaration
public static readonly RadProperty StripPositionProperty
Field Value
Properties
Orientation
Gets or sets strip orientation - it could be horizontal or vertical.
Declaration
[RadPropertyDefaultValue("Orientation", typeof(BoxLayout))]
public Orientation Orientation { get; set; }
Property Value
System.
|
Methods
ArrangeOverride(SizeF)
arranges the children by a given criteria
Declaration
protected override SizeF ArrangeOverride(SizeF finalSize)
Parameters
System.
|
Returns
System.
|
Overrides
GetProportion(RadElement)
Gets the proportion based on a given element
Declaration
public static float GetProportion(RadElement element)
Parameters
Rad The element which proportion will be get. |
Returns
System. The proportion value. |
InitializeFields()
MeasureOverride(SizeF)
measures the size to layout the children
Declaration
protected override SizeF MeasureOverride(SizeF availableSize)
Parameters
System.
|
Returns
System.
|
Overrides
OnPropertyChanged(RadPropertyChangedEventArgs)
Handles the properties values changes of BoxLayout
Declaration
protected override void OnPropertyChanged(RadPropertyChangedEventArgs e)
Parameters
Overrides
SetProportion(RadElement, Single)
Sets the proportion (attached property) of a given element.
Declaration
public static void SetProportion(RadElement element, float proportion)
Parameters
Rad The element which proportion will be set. |
System. The proportion value. |