API ReferenceEditor
Checkboxclass
A generic checkbox widget.
Constructors3
Showing 3 constructors
No results match this filter.
Methods5
Showing 5 methods
protected virtual void OnClicked()
Called when checkbox was clicked, on release.
Returns:
void—protected virtual void OnPressed()
Called when checkbox was pressed down.
Returns:
void—protected virtual void OnReleased()
Called when checkbox was released.
Returns:
void—protected virtual void OnStateChanged(Editor.CheckState state)
Called when the `Editor.Checkbox.State` of the checkbox states.
| Parameter | Type | Description |
|---|---|---|
| state | CheckState | — |
Returns:
void—protected virtual void OnToggled()
Called when checkbox gets toggled on or off.
Returns:
void—No results match this filter.
Properties5
Showing 5 properties
public string Editor.Checkbox.Icon { get; set; }
Name of a material icon to be drawn in front of the checkbox label.
Returns:
string—public Editor.CheckState Editor.Checkbox.State { get; set; }
Current state of this checkbox.
public string Editor.Checkbox.Text { get; set; }
The checkbox label.
Returns:
string—public bool Editor.Checkbox.TriState { get; set; }
Enable the third state, the half checked half not checked state. Disabled by default
Returns:
bool—public bool Editor.Checkbox.Value { get; set; }
Whether the checkbox is checked or not.
Returns:
bool—No results match this filter.