Class RadioButton
Radio button control
public class RadioButton : CheckBox
- Inheritance
-
RadioButton
- Inherited Members
- Extension Methods
Constructors
RadioButton(Dialog)
Create new radio button instance
public RadioButton(Dialog parent)
Parameters
parent
Dialog
Fields
buttonGroupIndex
protected uint buttonGroupIndex
Field Value
Properties
ButtonGroup
Button Group property
public uint ButtonGroup { get; set; }
Property Value
Methods
HandleKeyboard(WindowMessage, IntPtr, IntPtr)
Handle the keyboard for the checkbox
public override bool HandleKeyboard(WindowMessage msg, IntPtr wParam, IntPtr lParam)
Parameters
msg
WindowMessagewParam
IntPtrlParam
IntPtr
Returns
HandleMouse(WindowMessage, Point, IntPtr, IntPtr)
Handle mouse messages from the radio button
public override bool HandleMouse(WindowMessage msg, Point pt, IntPtr wParam, IntPtr lParam)
Parameters
msg
WindowMessagept
PointwParam
IntPtrlParam
IntPtr
Returns
OnHotKey()
Override hotkey to fire event
public override void OnHotKey()
SetChecked(bool, bool)
Sets the check state and potentially clears the group
public void SetChecked(bool ischecked, bool clear)
Parameters
SetCheckedInternal(bool, bool, bool)
Sets the checked state and fires the event if necessary
protected virtual void SetCheckedInternal(bool ischecked, bool clearGroup, bool fromInput)