HeaderPane
Main
Hide

SftTree/NET 3.0 - Tree Control for Windows Forms

Share Link
Print

EditSetup Event, SftTree Class

Occurs when a cell is about to be edited and a control must be positioned over the cell for editing purposes.

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

Syntax

public event EditSetupEventHandler EditSetup;
Public Event EditSetup As EditSetupEventHandler

Comments

Occurs when a cell is about to be edited and a control must be positioned over the cell for editing purposes.

This event makes a control available for cell editing. The control's display attributes and contents must be fully initialized by this event and additional final customizations can be performed. For example, when a combo box is used, this event can drop down the dropdown portion of the combo box control.

Once the control is positioned, visible and enabled and the EditSetup event ends, cell editing has started. The control's event handlers such as KeyDown and KeyPress can be used to implement cell navigation using the EditNavigate method.

The EditSetup event should not be used to otherwise manipulate or update the tree control in any way.

See Also SftTree Class | Classes | SftTree/NET 3.0