Table of Contents

Class CheckBox

Namespace
OmegaGUI.Model
Assembly
OmegaGUI.dll

CheckBox control

public class CheckBox : ButtonBase, ICloneable
Inheritance
object
CheckBox
Implements
Derived
Inherited Members

Constructors

CheckBox()

public CheckBox()

Fields

IsChecked

protected bool IsChecked

Field Value

bool

Properties

Checked

Is this control currently checked?

public virtual bool Checked { get; set; }

Property Value

bool

OnChanged

A Lua script to execute when the control's value has changed

[FileType("Lua")]
public string? OnChanged { get; set; }

Property Value

string

Text

The text displayed on the control

public override string Text { get; set; }

Property Value

string

Methods

Clone()

Creates a deep copy of this instance.

public override Control Clone()

Returns

Control

CloneCheckBox()

Creates a deep copy of this CheckBox instance.

public CheckBox CloneCheckBox()

Returns

CheckBox

The new copy of the CheckBox.

CloneFromTo(CheckBox, CheckBox)

Copies all members declared by CheckBox from one instance to another.

protected static void CloneFromTo(CheckBox from, CheckBox to)

Parameters

from CheckBox
to CheckBox