ComponentOne FlexGrid for WinForms
AllowEditing Property (C1FlexGridBase)

C1.Win.C1FlexGrid Namespace > C1FlexGridBase Class : AllowEditing Property
Gets or sets whether the user is allowed to edit grid contents.
Syntax
'Declaration
 
Public Property AllowEditing As Boolean
public bool AllowEditing {get; set;}
Remarks

If you set AllowEditing to false, editing is disabled for the entire grid.

To enable editing on some rows and columns, set AllowEditing to true for the grid and set the RowCol.AllowEditing or RowCol.AllowEditing properties to false for the rows and columns that should not be editable.

You can also disable editing of specific cells by handling the BeforeEdit event and setting the Cancel event parameter to true.

See Also

Reference

C1FlexGridBase Class
C1FlexGridBase Members