SftTree/OCX 7.0

SftTreeCell Object (ISftTreeCell Interface)

Softel vdm, Inc.

The SftTreeCell object represents one cell in a SftTree/OCX control. A SftTreeCell object for a particular cell can be accessed through the Cell property or through an item's Item.Cell property. An item is defined by the SftTreeItem object.

Certain default properties and behavior for cells can be defined using the SftTreeColumn object.

Property/Method

Description

AttachContentWindow

Attaches a content window to the cell.

BackColor

Defines the cell's background color.

BackColorEnd

Defines the cell's background color, combined with BackColor creating a gradient fill.

BackColorOrientation

Defines the cell's background gradient fill orientation.

ColumnIndex

Returns the column index of this cell.

Data

Defines the cell's application specific numeric value.

DataObject

Defines the cell's application specific object value.

DataString

Defines the cell's application specific string value.

DataTag

Defines the cell's application specific variant value.

Edit

Edits the cell.

EditIgnore

Defines whether the cell is ignored for cell editing.

Font

Defines the font used for this cell.

ForeColor

Defines the cell's foreground color.

GetContentWindow

Retrieves the content window attached to the cell.

GetImagePosition

Returns the coordinates of the cell image.

GetImagePositionPix

Returns the coordinates of the cell image.

GetPosition

Returns the coordinates of the cell.

GetPositionPix

Returns the coordinates of the cell.

GetTextPosition

Returns the coordinates of the cell text.

GetTextPositionPix

Returns the coordinates of the cell text.

Ignore

Defines whether the cell is ignored for optimal column width and extent calculation.

Image

Defines the graphic displayed in this cell.

ImageHAlign

Defines the horizontal alignment of the graphic in this cell.

ImageVAlign

Defines the vertical alignment of the graphic in this cell.

ItemIndex

Returns the item index of this cell.

MakeVisible

Horizontally and vertically scrolls the cell into view so it is displayed in the tree control's client area.

ProgressColor

Defines the progress bar color used for this cell.

ProgressColorEnd

Defines the progress bar color used for this cell, combined with ProgressColor creating a gradient fill.

ProgressColorOrientation

Defines the progress bar's gradient fill orientation.

ProgressMax

Defines the cell's progress bar maximum value (0 to turn off).

ProgressStyle

Defines the progress bar's appearance.

ProgressValue

Defines the cell's progress bar value.

SelectBackColor

Defines the cell's background color when the item is selected.

SelectBackColorEnd

Defines the cell's background color when the item is selected, combined with SelectBackColor creating a gradient fill.

SelectForeColor

Defines the cell's foreground color when the item is selected.

Text

Defines the cell's text.

TextHAlign

Defines the horizontal alignment of the text in this cell.

TextVAlign

Defines the vertical alignment of the text in this cell.

See Also  Object Hierarchy


Feedback / comments / error reports for this topic
© 2015 - Softel vdm, Inc. - www.softelvdm.com