Edit

Share via


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.

public:
 TaskDialogCommandLinkButton();
public TaskDialogCommandLinkButton ();
Public Sub New ()

Applies to

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.

public TaskDialogCommandLinkButton (string? text, string? descriptionText = default, bool enabled = true, bool allowCloseDialog = true);
new System.Windows.Forms.TaskDialogCommandLinkButton : string * string * bool * bool -> System.Windows.Forms.TaskDialogCommandLinkButton
Public Sub New (text As String, Optional descriptionText As String = Nothing, Optional enabled As Boolean = true, Optional allowCloseDialog As Boolean = 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