Редагувати

Поділитися через


TaskDialogButton.ShowShieldIcon Property

Definition

Gets or sets a value that indicates if the User Account Control (UAC) shield icon should be shown near the button; that is, whether the action invoked by the button requires elevation.

public:
 property bool ShowShieldIcon { bool get(); void set(bool value); };
public bool ShowShieldIcon { get; set; }
member this.ShowShieldIcon : bool with get, set
Public Property ShowShieldIcon As Boolean

Property Value

true to show the UAC shield icon; otherwise, false. The default value is false.

Exceptions

The property is set on a button that is currently bound to a task dialog, but the dialog has just started navigating to a different page.

Remarks

This property can be set while the dialog is shown.

Applies to