csharp
public enum ControlVariantHow 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)
DefaultThe ordinary one.
PrimaryThe one action a screen is mostly about.
SubtleQuiet: no fill, no border until it is hovered.
SuccessIt went well.
WarningIt might not.
DangerIt destroys something.
Used by (42, showing 40)
- GalleryHelloUi
- HierarchyHelloUi
- InspectorHelloUi
- ShellHelloUi
- ShellModelHelloUi
- ButtonTestsVixen.Ui.Controls.Tests
- ColorPickerVixen.Ui.Controls.Advanced
- ComboBoxVixen.Ui.Controls
- ControlVixen.Ui.Controls
- ControlThemeVisualTestsVixen.Ui.Controls.Tests
- ControlVisualTestsVixen.Ui.Controls.Tests
- DialogVixen.Ui.Controls
- DialogServiceVixen.Ui.Controls
- DialogSessionVixen.Ui.Controls
- DialogTestsVixen.Ui.Controls.Tests
- DockGroupViewVixen.Ui.Controls.Advanced
- DockTabVixen.Ui.Controls.Advanced
- PropertyRowVixen.Ui.Controls.Advanced
- SearchBoxVixen.Ui.Controls
- StepperVixen.Ui.Controls
- TimelineHeaderVixen.Ui.Controls.Advanced
- ToastVixen.Ui.Controls
- ToastHostVixen.Ui.Controls
- AnimationGraphViewVixen.Editor.AssetEditors
- AssetDrawerVixen.Editor.Inspector
- AssetGridVixen.Editor.App
- ConsoleViewVixen.Editor.Ui
- EditorApplicationVixen.Editor.App
- EditorShellVixen.Editor.Ui
- InputActionsViewDumpTestsVixen.Editor.AssetEditors.Tests
- InspectorRowVixen.Editor.Inspector
- InspectorViewVixen.Editor.Inspector
- ListDrawerVixen.Editor.Inspector
- MaterialViewVixen.Editor.AssetEditors
- MessageLogViewVixen.Editor.Ui
- NotificationCenterVixen.Editor.Ui
- ProfilerViewVixen.Editor.Profiler
- ProjectBrowserVixen.Editor.App
- SequenceViewVixen.Editor.AssetEditors
- SpriteSheetViewVixen.Editor.AssetEditors