FlexGrid for WinForms
AllowDelete Property



Gets or sets whether the grid should monitor the keyboard and handle the DEL key.
Syntax
'Declaration
 
<C1DescriptionAttribute("Allow user to delete rows by selecting them and pressing the DEL key.")>
<DefaultValueAttribute()>
<C1CategoryAttribute("Behavior")>
Public Property AllowDelete As Boolean
'Usage
 
Dim instance As C1FlexGridBase
Dim value As Boolean
 
instance.AllowDelete = value
 
value = instance.AllowDelete
[C1Description("Allow user to delete rows by selecting them and pressing the DEL key.")]
[DefaultValue()]
[C1Category("Behavior")]
public bool AllowDelete {get; set;}
[C1Description("Allow user to delete rows by selecting them and pressing the DEL key.")]
[DefaultValue()]
[C1Category("Behavior")]
public:
property bool AllowDelete {
   bool get();
   void set (    bool value);
}
Remarks

If this property is set to true, the user can delete rows by selecting them and then pressing the DEL key.

This property works in bound mode (if the data source supports deleting rows) and in unbound mode.

Requirements

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

See Also

Reference

C1FlexGridBase Class
C1FlexGridBase Members

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Send Feedback