Vixen
02b45cc4
csharp
public static class ControlIcons

The handful of glyphs the controls themselves are made of.

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

Remarks

Not an icon set — an application brings its own, and this is eight shapes without which the controls in this assembly cannot be drawn at all: a checkbox has to have a tick and a combo box has to have a chevron. Shipping them here is what makes the set work out of the box on a machine with no content pipeline and no fonts registered.

⚠ One instance each, shared by every control that uses it. A PathBuilder is mutable, so this is only safe because nothing here ever hands one out to be drawn into — Icon scales into a buffer of its own and reads this. A caller that mutates one of these has changed every checkbox in the process, which is worth knowing and is the same bargain as any other shared immutable-by-convention resource.

All eight are authored against the 24×24 grid ViewBox defaults to, so they interchange with Material, Lucide and Feather without a per-icon box.

Fields and properties (10)

  • public static PathBuilder Check

    A tick. The checkbox.

  • public static PathBuilder Dash

    A horizontal bar. A checkbox that is neither on nor off.

  • public static PathBuilder ChevronDown

    A chevron pointing down. What a combo box and an expander open with.

  • public static PathBuilder ChevronUp

    A chevron pointing up.

  • public static PathBuilder ChevronRight

    A chevron pointing right. A collapsed tree node, a breadcrumb separator.

  • public static PathBuilder ChevronLeft

    A chevron pointing left.

  • public static PathBuilder Close

    A cross. What closes a dialog, a drawer and a removable tag.

  • public static PathBuilder Search

    A magnifying glass. The search box.

  • public static PathBuilder Lock

    A closed padlock. Anything held on what it is showing.

  • public static PathBuilder Unlock

    An open padlock. The same thing, off.

Used by (37)

  • BreadcrumbVixen.Ui.Controls
  • CheckBoxVixen.Ui.Controls
  • CodeEditorVixen.Ui.Controls.Advanced
  • ColorPickerVixen.Ui.Controls.Advanced
  • ComboBoxVixen.Ui.Controls
  • DataGridVixen.Ui.Controls.Advanced
  • DataHeaderCellVixen.Ui.Controls.Advanced
  • DialogVixen.Ui.Controls
  • DockGroupViewVixen.Ui.Controls.Advanced
  • DockTabVixen.Ui.Controls.Advanced
  • ExpanderVixen.Ui.Controls
  • ExpanderHeaderVixen.Ui.Controls
  • MenuItemVixen.Ui.Controls
  • MultiSelectVixen.Ui.Controls
  • NavigationInteractionTestsVixen.Ui.Controls.Tests
  • PaginationVixen.Ui.Controls
  • PropertyRowVixen.Ui.Controls.Advanced
  • SearchBoxVixen.Ui.Controls
  • SelectBaseVixen.Ui.Controls
  • SurfaceTestsVixen.Ui.Controls.Tests
  • ToastVixen.Ui.Controls
  • TreeRowVixen.Ui.Controls.Advanced
  • TreeViewVixen.Ui.Controls.Advanced
  • AddComponentMenuVixen.Editor.App
  • AddComponentRowVixen.Editor.App
  • AssetDrawerVixen.Editor.Inspector
  • ComponentsViewVixen.Editor.App
  • EditorApplicationVixen.Editor.App
  • InspectorRowVixen.Editor.Inspector
  • InspectorViewVixen.Editor.Inspector
  • ListDrawerVixen.Editor.Inspector
  • MenuPresenterVixen.Editor.Ui
  • OutlinerColumnTestsVixen.Editor.App.Tests
  • TargetOverrideMatrixVixen.Editor.AssetEditors
  • TaskCenterVixen.Editor.Ui
  • ToolbarPresenterVixen.Editor.Ui
  • ToolbarSectionTestsVixen.Editor.Ui.Tests