RaptorSuiteSettingsSwitches.Switch
A registered switch (read-only).
| Namespace | Assembly | Kind | Stability |
|---|---|---|---|
Raptor.EditorTools | Raptor.Editor | class | preview, since 0.1.0 |
public sealed class SwitchProperties
After
public IReadOnlyList<string> After { get; }Gets the anchor titles in fallback order.
Description
public string Description { get; }Gets a few words about the switch, shown as the row's tooltip.
Get
public Func<bool> Get { get; }Gets the function that returns the switch state.
Group
public string Group { get; }Gets the group on the Settings page.
Id
public string Id { get; }Gets the switch's stable id.
Keywords
public string Keywords { get; }Gets extra words the Settings search matches.
Section
public string Section { get; }Gets the Settings page.
Set
public Action<bool> Set { get; }Gets the function that sets the switch state.
Title
public string Title { get; }Gets the row's title.
Related types
- RaptorSuiteSettingsSwitches: Switch rows a project adds to the Suite's Settings pages.