| C1.Win.C1Win7Pack.4 Assembly > C1.Win.C1Win7Pack Namespace > C1TaskDialog Class : ButtonClick Event |
<C1DescriptionAttribute("Occurs when a button or a command link is clicked in the task dialog.")>
<C1CategoryAttribute("Action")>
Public Event ButtonClick As TaskDialogButtonClickEventHandler
Dim instance As C1TaskDialog Dim handler As TaskDialogButtonClickEventHandler AddHandler instance.ButtonClick, handler
[C1Description("Occurs when a button or a command link is clicked in the task dialog.")]
[C1Category("Action")]
public event TaskDialogButtonClickEventHandler ButtonClick
[C1Description("Occurs when a button or a command link is clicked in the task dialog.")]
[C1Category("Action")]
public:
event TaskDialogButtonClickEventHandler^ ButtonClick
The event handler receives an argument of type TaskDialogButtonClickEventArgs containing data related to this event. The following TaskDialogButtonClickEventArgs properties provide information specific to this event.
| Property | Description |
|---|---|
| Cancel | (Inherited from System.ComponentModel.CancelEventArgs) |
| CustomButton | Gets the custom button if the DialogResult is equal to 'Custom'. |
| DialogResult | Gets the proposed dialog result. |
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2