TaskDialogOptions Enumeration

Represents the possible options of a TaskDialog.

Definition

Namespace: KGySoft.WinForms.Components
Assembly: KGySoft.WinForms (in KGySoft.WinForms.dll) Version: 5.0.1
C#
[FlagsAttribute]
public enum TaskDialogOptions

Members

None0x00000000 Represents no options.
HyperlinksEnabled0x00000001 Indicates that the TaskDialog should resolve hyperlinks.
AllowCancel0x00000008 Indicates that the TaskDialog should be able to be closed by Alt+F4, the Escape button, and the title bar’s close button, even if no cancel button is specified in StandardButtons.
UseCommandLinks0x00000010 Indicates that the Buttons should be displayed as command links (using a standard task dialog glyph) instead of simple push buttons. If both UseCommandLinks and UseCommandLinksNoIcon are set, glyphs will be visible.
UseCommandLinksNoIcon0x00000020 Determines whether the Buttons should be displayed as command links (without displaying the default) instead of simple push buttons. If both UseCommandLinks and UseCommandLinksNoIcon are set, glyphs will be visible.
ExpandFooterArea0x00000040 Indicates that the details text of a TaskDialog should be displayed at the footer area instead of immediately after the message. This flag is ignored when DetailsText is not set.
DetailsExpanded0x00000080 Indicates that details should be expanded when the TaskDialog appears. This flag is ignored when DetailsText is empty.
PositionRelativeToWindow0x00001000 Indicates that the TaskDialog should be centered to the owner window rather than the current display.
RightToLeftLayout0x00002000 Indicates that the TaskDialog should appear in right-to-left layout.
AllowMinimize0x00008000 Indicates that the TaskDialog can be minimized. Works only if the task dialog is shown without specifying an owner, so it is executed as a non-modal dialog. It implicitly allows cancellation as if AllowCancel was also set.
TranslateStandardButtons0x00010000 Indicates that the texts of StandardButtons are localized from the library resources rather than using Windows resources. On non-Windows platforms this flag is ignored, as if it was always set.

  Note

This flag causes to use TaskDialog in compatibility mode.
ForceShowSysMenu0x00020000 Indicates that the task dialog should show the form system menu with an icon even if it is shown as a modal dialog (i.e. it has an owner). The system menu icon reflects the main icon of the task dialog, or shows the default icon if no main icon is set. This option is effective only if AllowCancel is also set or the task dialog has a cancel standard button, so the window caption bar has also a close button.
ForceShowInTaskbar0x00040000 Indicates that the task dialog should be shown in the taskbar even if it is shown as a modal dialog (i.e. it has an owner).

See Also