public sealed class StatusBarThe strip along the bottom that says what is going on.
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 TagNameThe element name this type answers to when a caller does not choose one.
protected override bool AcceptsFocusWhether the focus can rest on this kind of control at all.
protected override AccessibleRole NativeRoleThe role this kind of element has when nobody says otherwise.
public UiElement LabelWhere the message is drawn.
public UiElement TrailingWhere everything else goes.
public string? MessageWhat it currently says, or for nothing.
protected override UiElement ContentHostWhere 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