API ReferenceEditor
Optionclass
Constructors3
Showing 3 constructors
No results match this filter.
Methods3
Showing 3 methods
protected virtual void OnToggled(bool b)
Called when this option was toggled.
| Parameter | Type | Description |
|---|---|---|
| b | bool | — |
Returns:
void—protected virtual void OnTriggered()
Called when this option was clicked..
Returns:
void—No results match this filter.
Properties13
Showing 13 properties
public bool Editor.Option.Checkable { get; set; }
Whether this option is a toggle option. `Editor.Option.Checked`.
Returns:
bool—public bool Editor.Option.Checked { get; set; }
Whether this option is toggled/checked. `Editor.Option.Checkable`.
Returns:
bool—public bool Editor.Option.Enabled { get; set; }
Whether this option can be clicked. Will also be visually different.
Returns:
bool—public string Editor.Option.Icon { get; set; }
The icon for this option.
Returns:
string—public string Editor.Option.IconText { get; set; }
Text to display if `Editor.Option.Text` is empty.
Returns:
string—public string Editor.Option.Shortcut { get; set; }
Obsolete: Please use ShortcutName, which takes a shortcut ident (such as editor.save) instead of keys (such as CTRL+S).
Returns:
string—public string Editor.Option.ShortcutName { get; set; }
Returns:
string—public string Editor.Option.StatusText { get; set; }
Obsolete: Use StatusTip
Returns:
string—public string Editor.Option.StatusTip { get; set; }
Returns:
string—public string Editor.Option.Text { get; set; }
Text for this option.
Returns:
string—public string Editor.Option.ToolTip { get; set; }
Returns:
string—No results match this filter.