| Visual Basic (Declaration) | |
|---|---|
Public Property AllowCellEdit As AllowCellEdit | |
| C# | |
|---|---|
public AllowCellEdit AllowCellEdit {get; set;} | |
The AllowCellEdit property is exposed by each of the column-related objects (UltraTreeNodeColumn, UltraTreeColumnSet, and UltraTreeColumnSettings), and the UltraTreeNodeCell object exposes an UltraTreeNodeCell.AllowEdit property, which is named differently but functionally identical. The AllowCellEdit property of the UltraTreeColumnSettings object is the least specific of all the levels, that is, applies to the most cells.
Cells can be disabled by setting the AllowCellEdit property to 'Disabled'.
The end user can be prevented from changing a cell's contents, while still being allowed to copy the cell's contents, by setting the AllowCellEdit property to 'ReadOnly'.
The AllowCellEdit property does not, by itself, determine the behavior exhibited when a cell is clicked with the mouse; the Override.CellClickAction property also determines whether a cell can be activated and/or edited when it is clicked with the mouse.
| Visual Basic | Copy Code |
|---|---|
Imports Infragistics.Win | |
| C# | Copy Code |
|---|---|
using Infragistics.Win; | |
