Class VmDialogReference
Holds a reference to an open dialog, allowing, among other things, to close or dismiss it from the ViewModel.
public class VmDialogReference
- Inheritance
-
VmDialogReference
- Inherited Members
Constructors
VmDialogReference(Func<Task>)
Holds a reference to an open dialog, allowing, among other things, to close or dismiss it from the ViewModel.
public VmDialogReference(Func<Task> onClose)
Parameters
Properties
Cancelled
Whether the dialog was dismissed by calling Dismiss().
public bool Cancelled { get; }
Property Value
Closed
public bool Closed { get; }
Property Value
WaitClosed
public Task WaitClosed { get; }
Property Value
Methods
Close()
Close without settings Cancelled to true. OnDismissed(Async) will also be called before closing.
public Task Close()
Returns
Dismiss()
Close and set Cancelled to true. OnDismissed(Async) will also be called before closing.
public Task Dismiss()