| C1.Win.C1Input Namespace > C1TextBox Class : AcceptsEscape Property |
'Declaration<C1CategoryAttribute("Behavior")> <C1DescriptionAttribute("Indicates if the Escape key that cancels modified value is handled by the control without passing it to the owner form (AcceptsEscape=True), or it is then passed to the form and can close it if the form has CancelButton (AcceptsEscape=False).")> <DefaultValueAttribute()> <LocalizableAttribute(True)> Public Property AcceptsEscape As Boolean
'UsageDim instance As C1TextBox Dim value As Boolean instance.AcceptsEscape = value value = instance.AcceptsEscape
[C1Category("Behavior")] [C1Description("Indicates if the Escape key that cancels modified value is handled by the control without passing it to the owner form (AcceptsEscape=True), or it is then passed to the form and can close it if the form has CancelButton (AcceptsEscape=False).")] [DefaultValue()] [Localizable(true)] public bool AcceptsEscape {get; set;}
[C1Category("Behavior")] [C1Description("Indicates if the Escape key that cancels modified value is handled by the control without passing it to the owner form (AcceptsEscape=True), or it is then passed to the form and can close it if the form has CancelButton (AcceptsEscape=False).")] [DefaultValue()] [Localizable(true)] public: property bool AcceptsEscape { bool get(); void set ( bool value); }
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