Vixen
dd8b0a81
csharp
public sealed class StatusBar

The strip along the bottom that says what is going on.

Read the guide page for this →

Remarks

⚠ Status is the whole reason this is a control. A status bar built out of a bare UiElement and a stylesheet — which is what EditorShell.cs:138-155 does — is visually right and silent: ARIA's status is a live region, so a screen reader announces a change to it without moving the focus, and that is the entire behaviour a status bar exists to have.

A container and not a label. Every real status bar has several cells — a message, a line and column, an encoding, a progress spinner — so the message is Message and the rest are children. ContentHost is the trailing area, so <StatusBar>'s nested tags land after the message rather than on top of it.

Fields and properties (7)

  • protected override string TagName

    The element name this type answers to when a caller does not choose one.

  • protected override bool AcceptsFocus

    Whether the focus can rest on this kind of control at all.

  • protected override AccessibleRole NativeRole

    The role this kind of element has when nobody says otherwise.

  • public UiElement Label

    Where the message is drawn.

  • public UiElement Trailing

    Where everything else goes.

  • public string? Message

    What it currently says, or for nothing.

  • protected override UiElement ContentHost

    Where content written inside this element's tag actually goes.

Methods (1)

  • protected override void OnCreated()

    Builds whatever this element is made of, once, as it joins a document.

Used by (4)

  • ApplicationBarTestsVixen.Ui.Controls.Tests
  • ClosingTestsVixen.Editor.App.Tests
  • EditorShellVixen.Editor.Ui
  • EditorShellTestsVixen.Editor.Ui.Tests