ComponentOne Windows 7 Control Pack for WinForms
AllowCancel Property



C1.Win.C1Win7Pack.4 Assembly > C1.Win.C1Win7Pack Namespace > C1TaskDialog Class : AllowCancel Property
Indicates that the dialog should be able to be closed using Alt-F4, Escape, and the title bar's close button.
Syntax
<DefaultValueAttribute()>
<C1DescriptionAttribute("Indicates that the user can close the dialog by pressing the Escape key.")>
<C1CategoryAttribute("Icons")>
Public Property AllowCancel As Boolean
Dim instance As C1TaskDialog
Dim value As Boolean
 
instance.AllowCancel = value
 
value = instance.AllowCancel
[DefaultValue()]
[C1Description("Indicates that the user can close the dialog by pressing the Escape key.")]
[C1Category("Icons")]
public bool AllowCancel {get; set;}
[DefaultValue()]
[C1Description("Indicates that the user can close the dialog by pressing the Escape key.")]
[C1Category("Icons")]
public:
property bool AllowCancel {
   bool get();
   void set (    bool value);
}
See Also

Reference

C1TaskDialog Class
C1TaskDialog Members