TaskDialogCommandLinkButton Constructors

Definition

Overloads

TaskDialogCommandLinkButton()

Initializes a new instance of the TaskDialogButton class.

TaskDialogCommandLinkButton(String, String, Boolean, Boolean)

Initializes a new instance of the TaskDialogButton class using the given text and, optionally, a description text.

TaskDialogCommandLinkButton()

Source:
TaskDialogCommandLinkButton.cs
Source:
TaskDialogCommandLinkButton.cs
Source:
TaskDialogCommandLinkButton.cs

Initializes a new instance of the TaskDialogButton class.

C#
public TaskDialogCommandLinkButton();

Applies to

Windows Desktop 10 and other versions
Product Versions
Windows Desktop 5, 6, 7, 8, 9, 10

TaskDialogCommandLinkButton(String, String, Boolean, Boolean)

Source:
TaskDialogCommandLinkButton.cs
Source:
TaskDialogCommandLinkButton.cs
Source:
TaskDialogCommandLinkButton.cs

Initializes a new instance of the TaskDialogButton class using the given text and, optionally, a description text.

C#
public TaskDialogCommandLinkButton(string? text, string? descriptionText = default, bool enabled = true, bool allowCloseDialog = true);

Parameters

text
String

The text of the control.

descriptionText
String

An additional description text that will be displayed in a separate line when the TaskDialogButtons of the task dialog are shown as command links (see DescriptionText).

enabled
Boolean

A value that indicates if the button should be enabled.

allowCloseDialog
Boolean

A value that indicates whether the task dialog should close when this button is clicked.

Applies to

Windows Desktop 10 and other versions
Product Versions
Windows Desktop 5, 6, 7, 8, 9, 10