|
|
|
VirtualItem.SetCellColorSample Method |
Defines the color sample displayed as the item's cell graphic.
Deprecated - Provided for compatibility with earlier versions only - Use VirtualItem.Item.Cell.Image.SetColorSample instead
Syntax
object
A VirtualItem object.
ColIndex
The zero-based column number. The combination of ColIndex and the VirtualItem event's RowIndex parameter describes an individual cell.
Clr
Defines the color sample displayed as the item's cell graphic.
FrameClr
Defines the color value used to outline the color sample rectangle. If -1 is used, no outline is drawn. For information about color properties, please visit the applicable section "Using SftTree/OCX with ...".
WidthPix
The width of the color sample rectangle in pixels.
HeightPix
The height of the color sample rectangle in pixels.
Comments
Deprecated - Provided for compatibility with earlier versions only - Use VirtualItem.Item.Cell.Image.SetColorSample instead
The SetCellColorSample method defines the color sample displayed as the item's cell graphic.
The VirtualItem.SetCellColorSample property is used while handling a VirtualItem event to define the color sample displayed as the item's cell graphic. The item is described by the VirtualItem event's RowIndex parameter.
See Also VirtualItem Object | Object Hierarchy