TaskDialogButton.Visible Property

Definition

Gets or sets a value that indicates if this TaskDialogButton should be shown when displaying the task dialog.

public bool Visible { get; set; }

Property Value

Exceptions

The property is set and this button instance is currently bound to a task dialog.

Remarks

Setting this property to false allows you to still receive the Click event (e.g. for the Cancel button when AllowCancel is set), or to call the PerformClick() method even if the button is not shown.

Applies to

Product Versions
Windows Desktop 5, 6, 7, 8, 9