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
RadProperty
|
ProportionProperty
Registers the Proportion dependancy property of BoxLayout
Declaration
public static RadProperty ProportionProperty
Field Value
RadProperty
|
StripPositionProperty
Registers the StripPosition dependancy property of BoxLayout
Declaration
public static readonly RadProperty StripPositionProperty
Field Value
RadProperty
|
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.Windows.Forms.Orientation
|
Methods
ArrangeOverride(SizeF)
arranges the children by a given criteria
Declaration
protected override SizeF ArrangeOverride(SizeF finalSize)
Parameters
System.Drawing.SizeF
finalSize
|
Returns
System.Drawing.SizeF
|
Overrides
GetProportion(RadElement)
Gets the proportion based on a given element
Declaration
public static float GetProportion(RadElement element)
Parameters
RadElement
element
The element which proportion will be get. |
Returns
System.Single
The proportion value. |
InitializeFields()
MeasureOverride(SizeF)
measures the size to layout the children
Declaration
protected override SizeF MeasureOverride(SizeF availableSize)
Parameters
System.Drawing.SizeF
availableSize
|
Returns
System.Drawing.SizeF
|
Overrides
OnPropertyChanged(RadPropertyChangedEventArgs)
Handles the properties values changes of BoxLayout
Declaration
protected override void OnPropertyChanged(RadPropertyChangedEventArgs e)
Parameters
RadPropertyChangedEventArgs
e
|
Overrides
SetProportion(RadElement, Single)
Sets the proportion (attached property) of a given element.
Declaration
public static void SetProportion(RadElement element, float proportion)
Parameters
RadElement
element
The element which proportion will be set. |
System.Single
proportion
The proportion value. |