SftTree/OCX 7.0

SftTreeItems.OutlineStyle Property

Softel vdm, Inc.

Defines the display style of the selection outline.

Syntax       

Get

VB.NET

Style = object.OutlineStyle  As SftTreeOutlineStyleConstants

VB

Style = object.OutlineStyle  As SftTreeOutlineStyleConstants

C#.NET

SftTreeOutlineStyleConstants Style = object.OutlineStyle;

VC++

enum SftTreeOutlineStyleConstants Style = object->OutlineStyle;
enum SftTreeOutlineStyleConstants Style = object->GetOutlineStyle();

C

HRESULT object->get_OutlineStyle(enum SftTreeOutlineStyleConstants* Style);

Delphi

Style := object.OutlineStyle  : TOleEnum;

Put

VB.NET

object.OutlineStyle = Style  As SftTreeOutlineStyleConstants

VB

object.OutlineStyle = Style  As SftTreeOutlineStyleConstants

C#.NET

SftTreeOutlineStyleConstants object.OutlineStyle = Style;

VC++

enum SftTreeOutlineStyleConstants object->OutlineStyle = Style;
void object->PutOutlineStyle(enum SftTreeOutlineStyleConstants Style);

C

HRESULT object->put_OutlineStyle(enum SftTreeOutlineStyleConstants Style);

Delphi

object.OutlineStyle := Style  : TOleEnum;

object

A SftTreeItems object.

Style

Defines the display style of the selection outline.

Name

Value

Description

OutlineStyleSftTreeRect

0

Rectangle - The selection display style, defined using the Items.SelectStyle property is rendered using a rectangle. The colors used for the selection rectangle are based on the definitions for selected items, cells and columns (see Items.SelectStyle).
An item highlighted due to flyby highlighting is rendered by underlining the cell text.
A drop target is rendered using the color defined using Items.DropHighlightColor.

OutlineStyleSftTreeRectGradient

1

Rectangle with borders and gradient fill - The selection display style, defined using the SelectStyle property is rendered using a rounded rectangle, with a gradient fill. The colors used for the selection outline are defined using the Items.SelectOutlineBorderColor, Items.SelectInnerBorderColor, Items.SelectInnerFill1, Items.SelectInnerFill2 or Items.SelectNoFocusOutlineBorderColor, Items.SelectNoFocusInnerBorderColor, Items.SelectNoFocusInnerFill1, Items.SelectNoFocusInnerFill2 properties.
The selection outline of items highlighted due to flyby highlighting is rendered using the colors Items.SelectHotOutlineBorderColor, Items.SelectHotInnerBorderColor, Items.SelectHotInnerFill1 and Items.SelectHotInnerFill2 or Items.HotOutlineBorderColor, Items.HotInnerBorderColor, Items.HotInnerFill1 and Items.HotInnerFill2.
The selection outline of items as drop targets is rendered using the colors Items.DropTargetOutlineBorderColor, Items.DropTargetInnerBorderColor, Items.DropTargetInnerFill1 and Items.DropTargetInnerFill2.

Comments

The OutlineStyle property defines the display style of the selection outline.

The Items.SelectStyle and Items.NoFocusStyle properties work in conjunction with the OutlineStyle property to determine the exact appearance of items. The highlighted portion of an item is rendered using the outline style defined by the OutlineStyle property.

See Also  SftTreeItems Object | Object Hierarchy


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