Vixen
02b45cc4
csharp
public sealed class Alert

Something the user needs to be told, in place rather than in a dialog.

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

Remarks

Doc 09 lists this as "Alert/Callout" — one control, because the difference between the two names in every library that has both is which one has an icon, and that is a property rather than a type. Variant is what says whether it is information, a warning or a failure.

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 heading, if it has one.

  • public string? Message

    What it says.

  • public UiElement TitlePart

    The heading's element.

  • public UiElement MessagePart

    The message's element.

  • public UiElement Body

    Where the content sits, so that a caller can add a button to it.

  • public Icon LeadingIcon

    An icon before the text, 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 (8)

  • ShellHelloUi
  • ControlVisualTestsVixen.Ui.Controls.Tests
  • CompiledSceneViewVixen.Editor.AssetEditors
  • ImportSettingsViewVixen.Editor.AssetEditors
  • MaterialViewVixen.Editor.AssetEditors
  • PrefabViewVixen.Editor.AssetEditors
  • SpriteSheetViewVixen.Editor.AssetEditors
  • TextureImportViewVixen.Editor.AssetEditors