Language
Edit

IDialog.Reset Method

Definition

Clears all content, events, and configuration from the dialog. Useful when pooling Dialog objects, to ensure that subsequent uses of the object don't retain stale data.

public void Reset();
abstract member Reset : unit -> unit
Public Sub Reset ()

Remarks

When implementing custom dialog types, be sure to override this method to clear any custom state or fields.

Applies to