HeaderPane
Main
Hide

SftTree/NET 3.0 - Tree Control for Windows Forms

Share Link
Print

EditAllowed Event, SftTree Class

Occurs to determine whether a cell can be reached for cell editing.

Class: SftTree
Namespace: Softelvdm.SftTreeNET
Assembly: Softelvdm.SftTreeNET

Syntax

public event EditAllowedEventHandler EditAllowed;
Public Event EditAllowed As EditAllowedEventHandler

Comments

Occurs to determine whether a cell can be reached for cell editing.

This event occurs while the while an SftTree.EditNavigate method is processed, to determine whether a cell can be reached during cell editing. It is possible to suppress cell editing for items and cells using the ItemClass.EditIgnore and CellClass.EditIgnore properties. In addition, the EditAllowed event can be used to disallow editing of cells, even if the cell is otherwise editable.

If cell editing is suppressed for items and cells using the ItemClass.EditIgnore and CellClass.EditIgnore properties, the EditAllowed event does not occur for these items and cells.

Other than determining whether a cell can be reached during cell editing, this event should not take any other action or update the tree control in any way.

See Also SftTree Class | Classes | SftTree/NET 3.0