TaskDialogCommandLinkButton 类

定义

表示任务对话框的命令链接按钮控件。Represents a command link button control of a task dialog.

public ref class TaskDialogCommandLinkButton sealed : System::Windows::Forms::TaskDialogButton
public sealed class TaskDialogCommandLinkButton : System.Windows.Forms.TaskDialogButton
type TaskDialogCommandLinkButton = class
    inherit TaskDialogButton
Public NotInheritable Class TaskDialogCommandLinkButton
Inherits TaskDialogButton
继承
TaskDialogCommandLinkButton

构造函数

TaskDialogCommandLinkButton()

初始化 TaskDialogButton 类的新实例。Initializes a new instance of the TaskDialogButton class.

TaskDialogCommandLinkButton(String, String, Boolean, Boolean)

使用给定文本和说明文本(可选)初始化 TaskDialogButton 类的新实例。Initializes a new instance of the TaskDialogButton class using the given text and, optionally, a description text.

属性

AllowCloseDialog

获取或设置一个值,该值指示在单击此按钮时是否应关闭任务对话框。Gets or sets a value that indicates whether the task dialog should close when this button is clicked. 或者,如果此按钮为 Help 按钮,则指示是否应引发 HelpRequestOr, if this button is the Help button, indicates whether the HelpRequest should be raised.

(继承自 TaskDialogButton)
BoundPage

获取此控件当前绑定到的 TaskDialogPage 实例。Gets the TaskDialogPage instance which this control is currently bound to.

(继承自 TaskDialogControl)
DescriptionText

获取或设置将显示在单独行中的附加说明文本。Gets or sets an additional description text that will be displayed in a separate line.

Enabled

获取或设置一个值,该值指示按钮是否可以对用户交互作出响应。Gets or sets a value indicating whether the button can respond to user interaction.

(继承自 TaskDialogButton)
ShowShieldIcon

获取或设置一个值,该值指示是否应在按钮附近显示用户帐户控制 (UAC) 盾牌图标;也就是说,该按钮调用的操作是否需要提升权限。Gets or sets a value that indicates if the User Account Control (UAC) shield icon should be shown near the button; that is, whether the action invoked by the button requires elevation.

(继承自 TaskDialogButton)
Tag

获取或设置包含有关控件的数据的对象。Gets or sets the object that contains data about the control.

(继承自 TaskDialogControl)
Text

获取或设置与此控件关联的文本。Gets or sets the text associated with this control.

(继承自 TaskDialogButton)
Visible

获取或设置一个值,该值指示在显示任务对话框时是否应显示此 TaskDialogButtonGets or sets a value that indicates if this TaskDialogButton should be shown when displaying the task dialog.

(继承自 TaskDialogButton)

方法

Equals(Object) (继承自 TaskDialogButton)
GetHashCode() (继承自 TaskDialogButton)
GetType()

获取当前实例的 TypeGets the Type of the current instance.

(继承自 Object)
MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(继承自 Object)
PerformClick()

模拟单击此按钮。Simulates a click on this button.

(继承自 TaskDialogButton)
ToString()

返回表示当前 TaskDialogButton 控件的字符串。Returns a string that represents the current TaskDialogButton control.

(继承自 TaskDialogButton)

事件

Click

在单击按钮时发生。Occurs when the button is clicked.

(继承自 TaskDialogButton)

适用于