Class CheckPrimitive
Represents a check box primitive that is drawn on the screen.
Inheritance
Inherited Members
Namespace: Telerik.WinControls.Primitives
Assembly: Telerik.WinControls.dll
Syntax
public class CheckPrimitive : RadioPrimitive, IDisposable, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IStylableNode, IPrimitive, IFillElement, IPrimitiveElement, IShapedElement
Constructors
CheckPrimitive()
Declaration
public CheckPrimitive()
Fields
CheckPrimitiveStyleProperty
CheckThicknessProperty
DrawFillProperty
HorizontalOffestProperty
SquareHeightAdjustProperty
SquareWidthAdjustProperty
UseFixedCheckSizeProperty
VerticalOffestProperty
Properties
CheckPrimitiveStyle
Gets or sets a value indicating the style of the check box primitive.
Declaration
[RadPropertyDefaultValue("CheckPrimitiveStyle", typeof(CheckPrimitive))]
public CheckPrimitiveStyleEnum CheckPrimitiveStyle { get; set; }
Property Value
CheckPrimitiveStyleEnum
|
CheckState
CheckThickness
Gets or sets a value that determines the checkmark thickness. Use this property only when UseFixedCheckSize property is set to false.
Declaration
[RadPropertyDefaultValue("CheckThickness", typeof(CheckPrimitive))]
public int CheckThickness { get; set; }
Property Value
System.Int32
|
DrawFill
Gets or sets a value indicating whether to draw the background.
Declaration
[RadPropertyDefaultValue("DrawFill", typeof(CheckPrimitive))]
public bool DrawFill { get; set; }
Property Value
System.Boolean
|
HorizontalOffest
Gets or sets a value that determines how the checkmark position in Indeterminate will be adjusted horizontal (in pixels).
Declaration
[RadPropertyDefaultValue("HorizontalOffest", typeof(CheckPrimitive))]
public int HorizontalOffest { get; set; }
Property Value
System.Int32
|
SquareHeightAdjust
Gets or sets a value that determines how the checkmark height in Indeterminate state will be adjusted (in pixels).
Declaration
[RadPropertyDefaultValue("SquareHeightAdjust", typeof(CheckPrimitive))]
public int SquareHeightAdjust { get; set; }
Property Value
System.Int32
|
SquareWidthAdjust
Gets or sets a value that determines how the checkmark width in Indeterminate state will be adjusted (in pixels).
Declaration
[RadPropertyDefaultValue("SquareWidthAdjust", typeof(CheckPrimitive))]
public int SquareWidthAdjust { get; set; }
Property Value
System.Int32
|
UseFixedCheckSize
Gets or sets a value that determines whether the checkmark size is fixed to 8;8 pixels.
Declaration
[RadPropertyDefaultValue("UseFixedCheckSize", typeof(CheckPrimitive))]
public bool UseFixedCheckSize { get; set; }
Property Value
System.Boolean
|
VerticalOffest
Gets or sets a value that determines how the checkmark position in Indeterminate state will be adjusted vertical (in pixels).
Declaration
[RadPropertyDefaultValue("VerticalOffest", typeof(CheckPrimitive))]
public int VerticalOffest { get; set; }
Property Value
System.Int32
|
Methods
GetClientRect()
Declaration
protected override Rectangle GetClientRect()
Returns
System.Drawing.Rectangle
|
Overrides
PaintPrimitive(IGraphics, Single, SizeF)
Declaration
public override void PaintPrimitive(IGraphics graphics, float angle, SizeF scale)
Parameters
IGraphics
graphics
|
System.Single
angle
|
System.Drawing.SizeF
scale
|