HeaderPane
Main
Hide
Share Link
Print

CellEditStyle Property, SftTree Object

Defines the cell editing display style.

Deprecated - Provided for compatibility with earlier versions only - See Cell Editing

Syntax

Get

C#SftTreeCellEditStyleConstants Style = object.CellEditStyle;
VB.NETStyle = object.CellEditStyle As SftTreeCellEditStyleConstants
C++enum SftTreeCellEditStyleConstants Style = object->CellEditStyle;
enum SftTreeCellEditStyleConstants Style = object->GetCellEditStyle();
CHRESULT object->get_CellEditStyle(enum SftTreeCellEditStyleConstants* Style);
VBStyle = object.CellEditStyle As SftTreeCellEditStyleConstants

Put

C#SftTreeCellEditStyleConstants object.CellEditStyle = Style;
VB.NETobject.CellEditStyle = Style As SftTreeCellEditStyleConstants
C++enum SftTreeCellEditStyleConstants object->CellEditStyle = Style;
void object->PutCellEditStyle(enum SftTreeCellEditStyleConstants Style);
CHRESULT object->put_CellEditStyle(enum SftTreeCellEditStyleConstants Style);
VBobject.CellEditStyle = Style As SftTreeCellEditStyleConstants

object

A SftTree object.

Style

Defines the cell editing display style.

StyleValueDescription
cellSftTreeNormal0The edit control or combo box used for cell editing is sized to fit exactly within the cell being edited. This may clip the text displayed in the control. The ItemEditFont property can be used to reduce the size of the font used.
cellSftTreeAutoSize1The edit control or combo box used for cell editing is sized automatically to fit the text based on the font used for cell editing (see ItemEditFont). The control may extend beyond the borders of the cell being edited.

Comments

The CellEditStyle property defines the cell editing display style.

Deprecated - Provided for compatibility with earlier versions only - See Cell Editing

When using a CellEditStyle of cellSftTreeNormal, the text in the edit control or combo box control may be clipped vertically if it is too large to fit within the control. The control is sized to fit exactly within the cell being edited.

If cellSftTreeAutoSize is used, the control is adjusted based on the ItemEditFont property, so the text is not clipped. However, the control may exceed the boundaries of the cell being edited.

The CellEditStyle property is used for the edit control and combo box when editing cells using the StartEdit, StartComboEdit and StartCombo methods. It is not used for cell editing started using the Cell.Edit method.

See Also SftTree Object | Object Hierarchy


Last Updated 11/03/2026 - (email)
© 2026 Softel vdm, Inc.