DialogsUseTaskDialogs Property

Gets or sets whether a TaskDialog instance should be used when calling the message dialog methods of this class.
Default value: .

Definition

Namespace: KGySoft.WinForms.Forms
Assembly: KGySoft.WinForms (in KGySoft.WinForms.dll) Version: 5.0.1
C#
public static bool UseTaskDialogs { get; set; }

Property Value

Boolean

Remarks

The default value is to maintain backward compatibility with previous versions, but it is recommended to set this property to in new applications, especially if your application uses per-monitor DPI awareness, or you want to be able to localize the standard button texts of the dialogs.

It is safe to set this property to even if visual styles are not enabled or the application is not running on Windows Vista or later.

See Also