Defines the cell editing display style.
Deprecated - Provided for compatibility with earlier versions only - See Cell Editing
Get
| C# | SftTreeCellEditStyleConstants Style = object.CellEditStyle; |
| VB.NET | Style = object.CellEditStyle As SftTreeCellEditStyleConstants |
| C++ | enum SftTreeCellEditStyleConstants Style = object->CellEditStyle; enum SftTreeCellEditStyleConstants Style = object->GetCellEditStyle(); |
| C | HRESULT object->get_CellEditStyle(enum SftTreeCellEditStyleConstants* Style); |
| VB | Style = object.CellEditStyle As SftTreeCellEditStyleConstants |
Put
| C# | SftTreeCellEditStyleConstants object.CellEditStyle = Style; |
| VB.NET | object.CellEditStyle = Style As SftTreeCellEditStyleConstants |
| C++ | enum SftTreeCellEditStyleConstants object->CellEditStyle = Style; void object->PutCellEditStyle(enum SftTreeCellEditStyleConstants Style); |
| C | HRESULT object->put_CellEditStyle(enum SftTreeCellEditStyleConstants Style); |
| VB | object.CellEditStyle = Style As SftTreeCellEditStyleConstants |
object
Style
Defines the cell editing display style.
| Style | Value | Description |
|---|---|---|
| cellSftTreeNormal | 0 | The 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. |
| cellSftTreeAutoSize | 1 | The 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. |
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