Tip
If your application uses per-monitor DPI awareness, it is recommended to set the UseTaskDialogs property
to in the startup code of your application.
public static class DialogsPublic NotInheritable Class Dialogspublic ref class Dialogs abstract sealed[<AbstractClassAttribute>]
[<SealedAttribute>]
type Dialogs = class end| AutoRightToLeftLayout |
Gets whether right-to-left layout is automatically applied to the dialogs when the current UI culture is right-to-left.
Default value: . |
| DialogsOwner |
Gets or sets a common owner for the message dialogs when the owner is not specified in the dialog showing methods.
Default value: . |
| UseAdvancedDialogs |
Gets or sets whether an AdvancedMessageDialog instance is used for message dialogs.
This option does not support right-to-left layout, default button selection, and high DPI scaling.
Default value: . |
| UseTaskDialogs |
Gets or sets whether a TaskDialog instance should be used when calling the message dialog methods of this class.
Default value: . |
| CancellableConfirmMessage(String, MessageBoxDefaultButton) | Shows a confirmation message dialog with Yes, No and Cancel buttons. |
| CancellableConfirmMessage(IWin32Window, String, String, MessageBoxDefaultButton) | Shows a confirmation message dialog with Yes, No and Cancel buttons. |
| ConfirmMessage(String) | Shows a confirmation message dialog with Yes and No buttons. |
| ConfirmMessage(Boolean, String) |
Shows a confirmation message dialog with Yes, No, and an optional Cancel button.
This method is obsolete. To show a confirmation dialog with Yes, No and Cancel buttons, use the CancellableConfirmMessage(String, MessageBoxDefaultButton) method instead. |
| ConfirmMessage(String, Boolean) |
Shows a confirmation message dialog with Yes and No buttons.
See the Remarks section of the ConfirmMessage(String) overload for more details. |
| ConfirmMessage(String, Object) |
Shows a confirmation message dialog with Yes and No buttons.
|
| ConfirmMessage(Boolean, String, Object) |
Shows a confirmation message dialog with Yes, No, and an optional Cancel button.
This method is obsolete. To show a confirmation dialog with Yes, No and Cancel buttons, use the CancellableConfirmMessage(String, MessageBoxDefaultButton) method instead. |
| ConfirmMessage(IWin32Window, String, String, Boolean) |
Shows a confirmation message dialog with Yes and No buttons.
See the Remarks section of the ConfirmMessage(String) overload for more details. |
| ErrorMessage(String) | Shows an error message dialog with an OK button. |
| ErrorMessage(String, Object) |
Shows an error message dialog with an OK button.
|
| ErrorMessage(IWin32Window, String, String) |
Shows an error message dialog with an OK button.
See the Remarks section of the ErrorMessage(String) overload for more details. |
| InfoMessage(String) | Shows an information message dialog with an OK button. |
| InfoMessage(String, Object) |
Shows an information message dialog with an OK button.
|
| InfoMessage(IWin32Window, String, String) |
Shows an information message dialog with an OK button.
See the Remarks section of the InfoMessage(String) overload for more details. |
| InputDialog(String) |
Displays an input dialog with an editable value, and OK and Cancel buttons.
See the Remarks section of the InputDialog(IWin32Window, String, String, String) overload for more details. |
| InputDialog(IWin32Window, String) |
Displays an input dialog with an editable value, and OK and Cancel buttons.
See the Remarks section of the InputDialog(IWin32Window, String, String, String) overload for more details. |
| InputDialog(String, String) |
Displays an input dialog with an editable value, and OK and Cancel buttons.
See the Remarks section of the InputDialog(IWin32Window, String, String, String) overload for more details. |
| InputDialog(IWin32Window, String, String) |
Displays an input dialog with an editable value, and OK and Cancel buttons.
See the Remarks section of the InputDialog(IWin32Window, String, String, String) overload for more details. |
| InputDialog(String, String, String) |
Displays an input dialog with an editable value, and OK and Cancel buttons.
See the Remarks section of the InputDialog(IWin32Window, String, String, String) overload for more details. |
| InputDialog(IWin32Window, String, String, String) | Displays an input dialog with an editable value, and OK and Cancel buttons. |
| InputDialog(String, String, String, Int32, Int32) |
Displays an input dialog with an editable value, and OK and Cancel buttons.
See the Remarks section of the InputDialog(IWin32Window, String, String, String) overload for more details. |
| InputDialog(IWin32Window, String, String, String, Int32, Int32) |
Displays an input dialog with an editable value, and OK and Cancel buttons.
See the Remarks section of the InputDialog(IWin32Window, String, String, String) overload for more details. |
| WarningMessage(String) | Shows a warning message dialog with an OK button. |
| WarningMessage(String, Object) |
Shows a warning message dialog with an OK button.
|
| WarningMessage(IWin32Window, String, String) |
Shows a warning message dialog with an OK button.
See the Remarks section of the WarningMessage(String) overload for more details. |