csharp
public enum CloseReasonWhy 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)
CodeCode closed it.
CancelledEscape.
LightDismissedA click outside it.
CommittedA 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