Vixen
02b45cc4
csharp
public sealed class EmptyState

What a list shows when it has nothing to show.

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

Remarks

⚠ Worth a control because the alternative is a blank rectangle, which every user reads as a bug in the application rather than as an absence of data. The three parts below are what makes it not one: something to look at, a sentence saying what is missing, and somewhere to put the button that fixes it.

Fields and properties (8)

  • 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.

  • public string? Title

    The headline.

  • public string? Description

    The sentence under it.

  • public UiElement TitlePart

    The headline's element.

  • public UiElement DescriptionPart

    The description's element.

  • public UiElement Actions

    Where the button that resolves it goes.

  • public Icon Illustration

    The picture, created the first time it is asked for.

Methods (1)

  • protected override void OnCreated()

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

Used by (5)

  • AddressableGroupsViewVixen.Editor.AssetEditors
  • InspectorViewVixen.Editor.Inspector
  • ModelImportViewVixen.Editor.AssetEditors
  • SettingsViewVixen.Editor.Ui
  • TargetOverrideMatrixVixen.Editor.AssetEditors