ComponentOne Windows 7 Control Pack for WinForms
C1.Win.C1Win7Pack Namespace / C1TaskDialog Class / AllowCancel Property

In This Topic
    AllowCancel Property
    In This Topic
    Indicates that the dialog should be able to be closed using Alt-F4, Escape, and the title bar's close button.
    Syntax
    'Declaration
     
    
    <DefaultValueAttribute(True)>
    <C1CategoryAttribute("Icons")>
    <C1DescriptionAttribute("C1TaskDialog.AllowCancel", "Indicates that the user can close the dialog by pressing the Escape key.")>
    Public Property AllowCancel As Boolean
    [DefaultValue(true)]
    [C1Category("Icons")]
    [C1Description("C1TaskDialog.AllowCancel", "Indicates that the user can close the dialog by pressing the Escape key.")]
    public bool AllowCancel {get; set;}
    See Also