Class DialogClosingEventArgs
public class DialogClosingEventArgs : RoutedEventArgs
- Inheritance
-
DialogClosingEventArgs
- Inherited Members
- Extension Methods
Constructors
DialogClosingEventArgs(DialogSession, object)
public DialogClosingEventArgs(DialogSession session, object parameter)
Parameters
sessionDialogSessionparameterobject
DialogClosingEventArgs(DialogSession, object, RoutedEvent)
public DialogClosingEventArgs(DialogSession session, object parameter, RoutedEvent routedEvent)
Parameters
sessionDialogSessionparameterobjectroutedEventRoutedEvent
DialogClosingEventArgs(DialogSession, object, RoutedEvent, object)
public DialogClosingEventArgs(DialogSession session, object parameter, RoutedEvent routedEvent, object source)
Parameters
sessionDialogSessionparameterobjectroutedEventRoutedEventsourceobject
Properties
Content
Gets the DialogContent which is currently displayed, so this could be a view model or a UI element.
[Obsolete("Prefer Session.Content")]
public object Content { get; }
Property Value
IsCancelled
Indicates if the close has already been cancelled.
public bool IsCancelled { get; }
Property Value
Parameter
Gets the paramter originally provided to CloseDialogCommand/
public object Parameter { get; }
Property Value
Session
Allows interation with the current dialog session.
public DialogSession Session { get; }
Property Value
Methods
Cancel()
Cancel the close.
public void Cancel()