Class RadRadioButton
Represents the RadRadioButton control
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll
Syntax
public class RadRadioButton : RadToggleButton, INotifyPropertyChanged, ISupportInitializeNotification, ISupportInitialize, IComponentTreeHandler, ILayoutHandler, IPCHost, IAnalyticsProvider
Constructors
RadRadioButton()
Declaration
public RadRadioButton()
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.
AutoSize
Gets or sets a value indicating whether the control is automatically resized to display its entire contents.
Declaration
public override bool AutoSize { get; set; }
Property Value
System.Boolean
|
Overrides
ButtonElement
Gets the instance of RadRadioButtonElement wrapped by this control. RadRadioButtonElement is the main element in the hierarchy tree and encapsulates the actual functionality of RadRadioButton.
Declaration
public RadRadioButtonElement ButtonElement { get; }
Property Value
RadRadioButtonElement
|
DefaultSize
Gets the default size of RadRadioButton
Declaration
protected override Size DefaultSize { get; }
Property Value
System.Drawing.Size
|
Overrides
RadioCheckAlignment
Gets or sets a value indicating the alignment of the radio button.
Declaration
[RadPropertyDefaultValue("RadioCheckAlignment", typeof(RadRadioButtonElement))]
[RadDescription("RadioCheckAlignment", typeof(RadRadioButtonElement))]
public ContentAlignment RadioCheckAlignment { get; set; }
Property Value
System.Drawing.ContentAlignment
|
TabStop
Declaration
public bool TabStop { get; set; }
Property Value
System.Boolean
|
Methods
ButtonElement_ToggleStateChanged(Object, StateChangedEventArgs)
Declaration
protected override void ButtonElement_ToggleStateChanged(object sender, StateChangedEventArgs args)
Parameters
System.Object
sender
|
StateChangedEventArgs
args
|
Overrides
ButtonElement_ToggleStateChanging(Object, StateChangingEventArgs)
Declaration
protected override void ButtonElement_ToggleStateChanging(object sender, StateChangingEventArgs args)
Parameters
System.Object
sender
|
StateChangingEventArgs
args
|
Overrides
CreateAccessibilityInstance()
Declaration
protected override AccessibleObject CreateAccessibilityInstance()
Returns
System.Windows.Forms.AccessibleObject
|
Overrides
CreateButtonElement()
Create main button element that is specific for RadRadioButton.
Declaration
protected override RadButtonElement CreateButtonElement()
Returns
RadButtonElement
The element that encapsulates the funtionality of RadRadioButton |
Overrides
CreateChildItems(RadElement)
Declaration
protected override void CreateChildItems(RadElement parent)
Parameters
RadElement
parent
|
Overrides
OnEnter(EventArgs)
Declaration
protected override void OnEnter(EventArgs e)
Parameters
System.EventArgs
e
|
OnGotFocus(EventArgs)
Declaration
protected override void OnGotFocus(EventArgs e)
Parameters
System.EventArgs
e
|
Overrides
res_CheckStateChanged(Object, EventArgs)
Declaration
protected override void res_CheckStateChanged(object sender, EventArgs e)
Parameters
System.Object
sender
|
System.EventArgs
e
|
Overrides
res_CheckStateChanging(Object, CheckStateChangingEventArgs)
Declaration
protected override void res_CheckStateChanging(object sender, CheckStateChangingEventArgs args)
Parameters
System.Object
sender
|
CheckStateChangingEventArgs
args
|
Overrides
SetTabStops(Boolean)
Declaration
protected virtual void SetTabStops(bool tabPressed)
Parameters
System.Boolean
tabPressed
|