public sealed class EmptyStateWhat 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 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.
public string? TitleThe headline.
public string? DescriptionThe sentence under it.
public UiElement TitlePartThe headline's element.
public UiElement DescriptionPartThe description's element.
public UiElement ActionsWhere the button that resolves it goes.
public Icon IllustrationThe 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