Class RadRadioButtonElement
Represents a radio button element. The RadRadioButton class is a simple wrapper for the RadRadioButtonElement class. The RadRadioButton acts to transfer events to and from its corresponding RadRadioButtonElement instance. The RadRadioButtonElement which is essentially the RadRadioButton control may be nested in other telerik controls.
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll
Syntax
public class RadRadioButtonElement : RadToggleButtonElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IComponent, IDisposable, IBindableComponent, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IButtonControl, IImageElement
Constructors
RadRadioButtonElement()
Declaration
public RadRadioButtonElement()
Fields
RadioCheckAlignmentProperty
Registers the RadioCheckAlignment dependency property
Declaration
public static RadProperty RadioCheckAlignmentProperty
Field Value
RadProperty
|
Properties
AutoCheck
Gets or sets a value indicating whether the IsChecked value and the appearance of the control automatically change when the control is clicked.
Declaration
public bool AutoCheck { get; set; }
Property Value
System.Boolean
|
Remarks
If the AutoCheck value is set to true, and the RadioButton is part of a RadRadioButton control group, this property ensures that only one of the controls is checked at a given time. If the AutoCheck property is set to false, a group of RadioButton controls will not act as a mutually exclusive group and the IsChecked property must be updated in code.
CheckMarkPrimitive
RadioCheckAlignment
Gets or sets a value indicating the alignment of the radio-mark according to the text of the button.
Declaration
public ContentAlignment RadioCheckAlignment { get; set; }
Property Value
System.Drawing.ContentAlignment
|
Methods
CreateChildElements()
initializes and adds the child elements
Declaration
protected override void CreateChildElements()
Overrides
GetFocusRect()
Declaration
protected override Rectangle GetFocusRect()
Returns
System.Drawing.Rectangle
|
Overrides
GetSystemSkinPaintBounds()
Declaration
protected override Rectangle GetSystemSkinPaintBounds()
Returns
System.Drawing.Rectangle
|
Overrides
GetVistaVisualStyle()
Declaration
public override VisualStyleElement GetVistaVisualStyle()
Returns
System.Windows.Forms.VisualStyles.VisualStyleElement
|
Overrides
GetXPVisualStyle()
Declaration
public override VisualStyleElement GetXPVisualStyle()
Returns
System.Windows.Forms.VisualStyles.VisualStyleElement
|
Overrides
InitializeFields()
Declaration
protected override void InitializeFields()
Overrides
InitializeSystemSkinPaint()
Declaration
protected override void InitializeSystemSkinPaint()
Overrides
OnClick(EventArgs)
Fires te Click event and handles the toggle logic
Declaration
protected override void OnClick(EventArgs e)
Parameters
System.EventArgs
e
|
Overrides
OnMouseDown(MouseEventArgs)
Declaration
protected override void OnMouseDown(MouseEventArgs e)
Parameters
System.Windows.Forms.MouseEventArgs
e
|
Overrides
OnMouseEnter(EventArgs)
Declaration
protected override void OnMouseEnter(EventArgs e)
Parameters
System.EventArgs
e
|
Overrides
OnMouseLeave(EventArgs)
Declaration
protected override void OnMouseLeave(EventArgs e)
Parameters
System.EventArgs
e
|
Overrides
OnMouseUp(MouseEventArgs)
Declaration
protected override void OnMouseUp(MouseEventArgs e)
Parameters
System.Windows.Forms.MouseEventArgs
e
|
Overrides
OnToggle()
OnToggleStateChanged(StateChangedEventArgs)
Declaration
protected override void OnToggleStateChanged(StateChangedEventArgs e)
Parameters
StateChangedEventArgs
e
|
Overrides
ShouldPaintChild(RadElement)
Declaration
protected override bool ShouldPaintChild(RadElement element)
Parameters
RadElement
element
|
Returns
System.Boolean
|