Vixen
dd8b0a81

DocumentCloseAnswer

ui control Core/Vixen.Ui.Controls/DocumentClose.cs:7
csharp
public enum DocumentCloseAnswer

What the user answered when asked about a dirty document on the way out.

Read the guide page for this →

Fields and properties (4)

  • Cancel

    Backed out. The application stays open and the document is untouched.

  • Saved

    Wrote it, and the write succeeded.

  • Discarded

    Chose to lose the changes.

  • SaveFailed

    Chose to save and the save refused. ⚠ Not a close: see DocumentClosePrompt.

Used by (2)

  • DocumentClosePromptVixen.Ui.Controls
  • DocumentClosePromptTestsVixen.Ui.Controls.Tests