Edit

Share via


TaskDialogButton Constructors

Definition

Overloads

TaskDialogButton()

Initializes a new instance of the TaskDialogButton class.

TaskDialogButton(String, Boolean, Boolean)

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

TaskDialogButton()

Source:
TaskDialogButton.cs
Source:
TaskDialogButton.cs
Source:
TaskDialogButton.cs

Initializes a new instance of the TaskDialogButton class.

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

Applies to

TaskDialogButton(String, Boolean, Boolean)

Source:
TaskDialogButton.cs
Source:
TaskDialogButton.cs
Source:
TaskDialogButton.cs

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

public TaskDialogButton (string? text, bool enabled = true, bool allowCloseDialog = true);
new System.Windows.Forms.TaskDialogButton : string * bool * bool -> System.Windows.Forms.TaskDialogButton
Public Sub New (text As String, Optional enabled As Boolean = true, Optional allowCloseDialog As Boolean = true)

Parameters

text
String

The text of the control.

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