Table of Contents

Class RadioButton

Namespace
OmegaGUI.Render
Assembly
OmegaGUI.dll

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

uint

Properties

ButtonGroup

Button Group property

public uint ButtonGroup { get; set; }

Property Value

uint

Methods

HandleKeyboard(WindowMessage, IntPtr, IntPtr)

Handle the keyboard for the checkbox

public override bool HandleKeyboard(WindowMessage msg, IntPtr wParam, IntPtr lParam)

Parameters

msg WindowMessage
wParam IntPtr
lParam IntPtr

Returns

bool

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 WindowMessage
pt Point
wParam IntPtr
lParam IntPtr

Returns

bool

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

ischecked bool
clear bool

SetCheckedInternal(bool, bool, bool)

Sets the checked state and fires the event if necessary

protected virtual void SetCheckedInternal(bool ischecked, bool clearGroup, bool fromInput)

Parameters

ischecked bool
clearGroup bool
fromInput bool