IDialogResultWindow interface¶
A dialog window that remembers the result it was closed with. A view model closes its window through CloseWithResult so that the result is available from Result as well as from a modal show, which matters when the dialog is shown non-modally (for example during application startup, before an owner window exists).
Namespace: Eremex.AvaloniaUI.Controls.ApplicationServices
Assembly: Eremex.Common.Contracts.dll
NuGet Package: Eremex.Common.Contracts
Declaration¶
Properties¶
| name | description |
|---|---|
| Result { get; } | The result the window was last closed with through CloseWithResult. |
Methods¶
| name | description |
|---|---|
| CloseWithResult(…) | Closes the window, recording result in Result. |
See Also¶
- interface IActionWindow
- namespace Eremex.AvaloniaUI.Controls.ApplicationServices