Vixen
02b45cc4
csharp
public enum CloseReason

Why something that opens and closes was closed.

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

Remarks

Carried because the three are not interchangeable to a caller: a dialog dismissed with Escape is a cancellation, one closed by its own button is a decision, and one closed because the thing it was about went away is neither.

Fields and properties (4)

  • Code

    Code closed it.

  • Cancelled

    Escape.

  • LightDismissed

    A click outside it.

  • Committed

    A control inside it that closes it — an item chosen from a menu, a dialog's button.

Used by (19)

  • ColorInputVixen.Ui.Controls.Advanced
  • ComboBoxVixen.Ui.Controls
  • DialogVixen.Ui.Controls
  • MenuVixen.Ui.Controls
  • MenuBarVixen.Ui.Controls
  • OverlayVixen.Ui.Controls
  • RadialMenuVixen.Ui.Controls
  • SelectVixen.Ui.Controls
  • SelectBaseVixen.Ui.Controls
  • SurfaceTestsVixen.Ui.Controls.Tests
  • AddComponentMenuVixen.Editor.App
  • BehaviorAuthoringTestsVixen.Editor.App.Tests
  • CommandPaletteVixen.Editor.Ui
  • ComponentTestsVixen.Editor.App.Tests
  • DialogServiceVixen.Editor.Ui
  • DialogTestsVixen.Editor.Ui.Tests
  • MenuTestsVixen.Editor.Ui.Tests
  • PanelTestsVixen.Editor.Inspector.Tests
  • SceneMenuTestsVixen.Editor.App.Tests