HeaderPane
Main
Hide
Share Link
Print

ItemEditFont Property, SftTree Object

Defines the font used for cell editing.

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

Syntax

Get

C#System.Drawing.Font refFontObj = object.ItemEditFont;
VB.NETrefFontObj = object.ItemEditFont As System.Drawing.Font
C++IFontDisp* refFontObj = object->GetItemEditFont();
CHRESULT object->get_ItemEditFont(IFontDisp** refFontObj);
VBSet refFontObj = object.ItemEditFont As IFontDisp

Put

C#void object.let_ItemEditFont(System.Drawing.Font refFontObj);
VB.NETobject.let_ItemEditFont(ByVal refFontObj As System.Drawing.Font)
C++void object->PutItemEditFont(IFontDisp* refFontObj);
CHRESULT object->put_ItemEditFont(IFontDisp* refFontObj);
VBobject.ItemEditFont = refFontObj As IFontDisp

PutRef

C#System.Drawing.Font object.ItemEditFont = refFontObj;
VB.NETobject.ItemEditFont = refFontObj As System.Drawing.Font
C++void object->PutRefItemEditFont(IFontDisp* refFontObj);
CHRESULT object->putref_ItemEditFont(IFontDisp* refFontObj);
VBSet object.ItemEditFont = refFontObj As IFontDisp

object

A SftTree object.

refFontObj

Defines the font used for cell editing. For information about font properties, please visit the applicable section "Using SftTree/OCX with ...".

Comments

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

The ItemEditFont property defines the font used for cell editing.

The ItemEditFont property is used to change the font used for cell editing using edit controls and combo boxes. The font specified 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.

Depending on the CellEditStyle property, the controls used for cell editing can adjust to the font defined using the ItemEditFont property.

Using PutRef (see Syntax above) the control will use the reference to the Font object. If the Font object is later changed, this will also affect the font used by the control. Using Put instead causes the control to create a copy of the Font object. If the Font object is later changed, this will not affect the font used by the control as it uses a copy of the object. Because of the additional overhead and the increased resource use of Put, PutRef is the preferred method.

See Also SftTree Object | Object Hierarchy


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