Language
Edit

IDialog.OnDismissed Property

Definition

This event is fired when the dialog is dismissed, either through user inaction, or by some other foreground action taking precedence.

public Action<MixedReality.Toolkit.UX.DialogDismissedEventArgs> OnDismissed { get; set; }
member this.OnDismissed : Action<MixedReality.Toolkit.UX.DialogDismissedEventArgs> with get, set
Public Property OnDismissed As Action(Of DialogDismissedEventArgs)

Property Value

Remarks

For other actions, such as button presses and text field submits, provide your own delegates through the fluent methods. For example, use SetPositive(String, Action<DialogButtonEventArgs>) for these types of actions.

Any asynchronous method awaiting on the result of ShowAsync() will be unblocked when this event is fired.

Applies to