TaskDialogButton.Visible Property

Definition

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

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

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