Class CommonDialog
Specifies the base class used for displaying standard system dialog windows on the screen.
[ControlCategory("Hidden")]
public abstract class CommonDialog : FrameworkElement, IBaseObjectWithId, IDisposableObject, IBaseObject, IComponent, IDisposable
- Inheritance
-
CommonDialog
- Implements
- Derived
Properties
- Handler
Gets dialog handler.
- ShowHelp
Gets or sets a value indicating whether the the Help button is displayed.
- Title
Gets or sets the dialog window title.
Methods
- CoerceDialogResult(bool)
Called after dialog is closed. Override to coerce dialog result.
- CreateHandler()
Creates dialog handler.
- DisposeManaged()
Override to dispose managed resources. Here we dispose all used object references.
- IsValidShowDialog()
Called before dialog is shown. Override to check whether dialog can be shown using current settings. Should return
false
if dialog will not be shown.
- ShowAsync(Window?, Action?)
Runs a common dialog window asynchroniously.
- ShowAsync(Window?, Action<CommonDialog, bool>?)
Runs a common dialog window with the specified owner asynchroniously.
- ShowAsync(Window?, Action<bool>?)
Runs a common dialog window asynchroniously.
- ShowAsync(Action?)
Runs a common dialog window asynchroniously.
- ShowAsync(Action<CommonDialog, bool>?)
Runs a common dialog window with a default owner asynchroniously.
- ShowAsync(Action<bool>?)
Runs a common dialog window with a default owner asynchroniously.