Vixen
02b45cc4
csharp
public enum ControlVariant

How prominent a control is, and what it is about to do.

No guide page documents this yet — the page shows what the code says about itself.

Remarks

⚠ An intent rather than a colour. Danger says the button deletes something; that it is red is the theme's decision and a theme is entitled to say it another way — with a border, an icon, or nothing at all on a monochrome skin. A Red member would put the decision in the caller, where it cannot be restyled.

Fields and properties (6)

  • Default

    The ordinary one.

  • Primary

    The one action a screen is mostly about.

  • Subtle

    Quiet: no fill, no border until it is hovered.

  • Success

    It went well.

  • Warning

    It might not.

  • Danger

    It destroys something.

Used by (46, showing 40)

  • ShellHelloUi
  • ButtonTestsVixen.Ui.Controls.Tests
  • ColorPickerVixen.Ui.Controls.Advanced
  • ComboBoxVixen.Ui.Controls
  • ControlVixen.Ui.Controls
  • ControlVisualTestsVixen.Ui.Controls.Tests
  • DialogVixen.Ui.Controls
  • DockGroupViewVixen.Ui.Controls.Advanced
  • DockTabVixen.Ui.Controls.Advanced
  • PropertyRowVixen.Ui.Controls.Advanced
  • SearchBoxVixen.Ui.Controls
  • TimelineHeaderVixen.Ui.Controls.Advanced
  • ToastVixen.Ui.Controls
  • ToastHostVixen.Ui.Controls
  • AnimationGraphViewVixen.Editor.AssetEditors
  • AssetDrawerVixen.Editor.Inspector
  • AssetGridVixen.Editor.App
  • AssetPickerVixen.Editor.App
  • AudioMixerViewVixen.Editor.AssetEditors
  • BuildSettingsViewVixen.Editor.App
  • ComponentsViewVixen.Editor.App
  • ConsoleViewVixen.Editor.Ui
  • DeviceManagerViewVixen.Editor.Debugger
  • DialogServiceVixen.Editor.Ui
  • DialogSessionVixen.Editor.Ui
  • DialogTestsVixen.Editor.Ui.Tests
  • EditorApplicationVixen.Editor.App
  • EditorShellVixen.Editor.Ui
  • FrameDebuggerViewVixen.Editor.Debugger
  • InputActionsViewVixen.Editor.AssetEditors
  • InspectorRowVixen.Editor.Inspector
  • InspectorViewVixen.Editor.Inspector
  • KeyBindingsViewVixen.Editor.Ui
  • ListDrawerVixen.Editor.Inspector
  • MaterialViewVixen.Editor.AssetEditors
  • MessageLogViewVixen.Editor.Ui
  • NotificationCenterVixen.Editor.Ui
  • PluginManagerViewVixen.Editor.App
  • ProfilerViewVixen.Editor.Profiler
  • ProjectBrowserVixen.Editor.App