Class RadioButtonAdv
The RadioButtonAdv control is an alternative to the .Net RadioButton control. It has a very customizable border and background and supports advanced DataBinding.
Implements
Inherited Members
Namespace: Syncfusion.Windows.Forms.Tools
Assembly: Syncfusion.Tools.Windows.dll
Syntax
public class RadioButtonAdv : CheckRadioBase, IDisposable, IMessageFilter, IThemeProvider, IVisualStyle, ISupportInitialize, INotifyPropertyChanged
Constructors
RadioButtonAdv()
Initializes a new instance of the RadioButtonAdv class.
Declaration
public RadioButtonAdv()
Properties
AccessibilityEnabled
Gets or sets a value indicating whether the control should enable accessibility support in RadioButtonAdv.
Declaration
public bool AccessibilityEnabled { get; set; }
Property Value
Type |
---|
System.Boolean |
BackColor
Gets or sets BackColor of the RadioButtonAdv control.
Declaration
public override Color BackColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
Checked
Gets or sets a value indicating whether check state of the RadioButtonAdv.
Declaration
public bool Checked { get; set; }
Property Value
Type |
---|
System.Boolean |
Font
Gets or sets the System.Drawing.Font value for the control.
Declaration
public override Font Font { get; set; }
Property Value
Type |
---|
System.Drawing.Font |
IntValue
Gets or sets checked RadioButtonAdv in current container according to TabIndex.
Declaration
public int IntValue { get; set; }
Property Value
Type |
---|
System.Int32 |
MetroColor
Gets or sets the theme color of the RadioButtonAdv.
Declaration
public Color MetroColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
Office2007ColorScheme
Gets or sets office 2007 color scheme of the RadioButtonAdv.
Declaration
public Office2007Theme Office2007ColorScheme { get; set; }
Property Value
Type |
---|
Office2007Theme |
Office2010ColorScheme
Gets or sets office 2010 color scheme of the RadioButtonAdv.
Declaration
public Office2010Theme Office2010ColorScheme { get; set; }
Property Value
Type |
---|
Office2010Theme |
RaiseEventOnClick
Gets or sets a value indicating whether OnClick event should be fired.
Declaration
public bool RaiseEventOnClick { get; set; }
Property Value
Type |
---|
System.Boolean |
Style
Gets or sets an advanced appearance for the RadioButtonAdv.
Declaration
public RadioButtonAdvStyle Style { get; set; }
Property Value
Type |
---|
RadioButtonAdvStyle |
ThemeStyle
Gets or sets the TickControlVisualStyle value used to customize the appearance of the RadioButtonAdv.
Declaration
public TickControlVisualStyle ThemeStyle { get; set; }
Property Value
Type |
---|
TickControlVisualStyle |
Remarks
This ThemeStyle settings will be applied only when the VisualStyleBased theme has been applied to the control.
UseGDITextRendering
Gets or sets a value indicating whether GDI Text renderer in RadioButtonAdv or not.
Declaration
public bool UseGDITextRendering { get; set; }
Property Value
Type |
---|
System.Boolean |
Methods
BeginInit()
Signals the object that initialization is starting.
Declaration
public void BeginInit()
CreateAccessibilityInstance()
Overridden to update the accessibility object for the RadioButtonAdv.
Declaration
protected override AccessibleObject CreateAccessibilityInstance()
Returns
Type | Description |
---|---|
System.Windows.Forms.AccessibleObject | Returns the accessibility object for the RadioButtonAdv. |
Dispose(Boolean)
Cleans up any resources being used.
Declaration
protected override void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing |
Overrides
EndInit()
Signals the object that initialization is complete.
Declaration
public void EndInit()
GetControlName(String)
Helps to apply the ControlName settings in control
Declaration
public override string GetControlName(string controlName)
Parameters
Type | Name | Description |
---|---|---|
System.String | controlName | ControlName |
Returns
Type |
---|
System.String |
Overrides
OnCanApplyThemeChanged(Boolean)
Helps to apply the CanApplyTheme settings in control
Declaration
public override void OnCanApplyThemeChanged(bool canApplyTheme)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | canApplyTheme |
Overrides
OnCanOverrideStyleChanged(Boolean)
Helps to apply the CanOverriderStyle settings in control
Declaration
public override void OnCanOverrideStyleChanged(bool canOverriderStyle)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | canOverriderStyle |
Overrides
OnCheckChanged(EventArgs)
Raises the check changed event.
Declaration
protected virtual void OnCheckChanged(EventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.EventArgs | e | The System.EventArgs instance containing the event data. |
OnClick(EventArgs)
Raises the System.Windows.Forms.Control.Click event.
Declaration
protected override void OnClick(EventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.EventArgs | e | An System.EventArgs that contains the event data. |
OnEnabledChanged(EventArgs)
Declaration
protected override void OnEnabledChanged(EventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.EventArgs | e |
Overrides
OnGroupCheckChanged(EventArgs)
Raises the group check changed event.
Declaration
protected virtual void OnGroupCheckChanged(EventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.EventArgs | e | The System.EventArgs instance containing the event data. |
OnHandleCreated(EventArgs)
Raises the System.Windows.Forms.Control.HandleCreated event.
Declaration
protected override void OnHandleCreated(EventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.EventArgs | e | Event Argument |
Overrides
OnKeyDown(KeyEventArgs)
Raises the System.Windows.Forms.Control.OnKeyDown(System.Windows.Forms.KeyEventArgs) event.
Declaration
protected override void OnKeyDown(KeyEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Forms.KeyEventArgs | e | Key Event argument |
Overrides
OnKeyUp(KeyEventArgs)
Raises the System.Windows.Forms.Control.OnKeyUp(System.Windows.Forms.KeyEventArgs) event.
Declaration
protected override void OnKeyUp(KeyEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Forms.KeyEventArgs | e | Key Event argument |
OnLeave(EventArgs)
Raises the System.Windows.Forms.Control.OnLeave(System.EventArgs) event.
Declaration
protected override void OnLeave(EventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.EventArgs | e | Event argument |
Overrides
OnPaint(PaintEventArgs)
Raises the paint event.
Declaration
protected override void OnPaint(PaintEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Forms.PaintEventArgs | e | The System.Windows.Forms.PaintEventArgs instance containing the event data. |
Overrides
OnParentChanged(EventArgs)
Raises the System.Windows.Forms.Control.ParentChanged event.
Declaration
protected override void OnParentChanged(EventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.EventArgs | e | An System.EventArgs that contains the event data. |
OnThemeNameChanged(String)
Helps to apply the ThemeName settings in control
Declaration
public override void OnThemeNameChanged(string themeName)
Parameters
Type | Name | Description |
---|---|---|
System.String | themeName | ThemeName |
Overrides
ProcessMnemonic(Char)
Processes a mnemonic character.
Declaration
protected override bool ProcessMnemonic(char charCode)
Parameters
Type | Name | Description |
---|---|---|
System.Char | charCode | The character to process. |
Returns
Type | Description |
---|---|
System.Boolean | true if the character was processed as a mnemonic by the control; otherwise, false. |
Events
CheckChanged
Occurs when the Checked property changed in RadioButtonAdv.
Declaration
public event EventHandler CheckChanged
Event Type
Type |
---|
System.EventHandler |
GroupCheckChanged
Occurs when the Checked property of RadioButtonAdv in group changes.
Declaration
public event EventHandler GroupCheckChanged
Event Type
Type |
---|
System.EventHandler |
PropertyChanged
Occurs when the Checked property changed in RadioButtonAdv.
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
Type |
---|
System.ComponentModel.PropertyChangedEventHandler |