ClassCheckBoxLayoutPanel
Represents a layout panel used in the RadCheckBoxElement.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class CheckBoxLayoutPanel : LayoutPanel, IDisposable, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IStylableNode
Inheritance: objectDisposableObjectRadObjectRadElementLayoutPanelCheckBoxLayoutPanel
Implements:
Inherited Members
Constructors
CheckBoxLayoutPanel()
Declaration
public CheckBoxLayoutPanel()
Fields
CheckAlignmentProperty
Declaration
public static RadProperty CheckAlignmentProperty
Field Value
CheckMarkOffsetProperty
Declaration
public static RadProperty CheckMarkOffsetProperty
Field Value
Properties
CheckAlignment
Gets or set a value indicating the check alignment.
Declaration
public ContentAlignment CheckAlignment { get; set; }
Property Value
CheckMarkOffset
Gets or sets the offset between the check and body elements.
Methods
ArrangeOverride(SizeF)
Arranges the RadElement to its final location. The element must call the Arrange method of each of its children.
Declaration
protected override SizeF ArrangeOverride(SizeF finalSize)
Parameters
finalSize
The size that is available for element.
Returns
The rectangle occupied by the element. Usually finalSize. Should you return different size, the Layout system will restart measuring and rearranging the items. That could lead to infinite recursion.
Overrides
Remarks
In this method call to the Arrange method of each child must be made.
MeasureOverride(SizeF)
Measures the space required by the RadElement
Used by the layout system.
Declaration
protected override SizeF MeasureOverride(SizeF availableSize)
Parameters
availableSize
The size that is available to the RadElement. The available size can be infinity (to take the full size of the element)
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.