CheckBoxLayoutPanel
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
public CheckBoxLayoutPanel()
Fields
public static RadProperty CheckAlignmentProperty
public static RadProperty CheckMarkOffsetProperty
public static RadProperty IsBodyProperty
public static RadProperty IsCheckmarkProperty
Properties
Gets or set a value indicating the check alignment.
public ContentAlignment CheckAlignment { get; set; }
Gets or sets the offset between the check and body elements.
public int CheckMarkOffset { get; set; }
The body can contain image and / or text the same way as all buttons can - see RadButton
Methods
Arranges the RadElement to its final location. The element must call the Arrange method of each of its children.
protected override SizeF ArrangeOverride(SizeF 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:
In this method call to the Arrange method of each child must be made.
Measures the space required by the RadElement
Used by the layout system.
protected override SizeF MeasureOverride(SizeF 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:
In this method call to the Measure method of each child must be made.