Hide

SftBox/OCX 5.0 - Combo Box Control

Display
Print

SftBoxItems.OutlineStyle Property

Defines the display style of the selection outline.

Syntax

Get

VB.NETStyle = object.OutlineStyle As SftBoxOutlineStyleConstants
VBStyle = object.OutlineStyle As SftBoxOutlineStyleConstants
C#.NETSftBoxOutlineStyleConstants Style = object.OutlineStyle;
VC++enum SftBoxOutlineStyleConstants Style = object->OutlineStyle;
enum SftBoxOutlineStyleConstants Style = object->GetOutlineStyle();
CHRESULT object->get_OutlineStyle(enum SftBoxOutlineStyleConstants* Style);

Put

VB.NETobject.OutlineStyle = Style As SftBoxOutlineStyleConstants
VBobject.OutlineStyle = Style As SftBoxOutlineStyleConstants
C#.NETSftBoxOutlineStyleConstants object.OutlineStyle = Style;
VC++enum SftBoxOutlineStyleConstants object->OutlineStyle = Style;
void object->PutOutlineStyle(enum SftBoxOutlineStyleConstants Style);
CHRESULT object->put_OutlineStyle(enum SftBoxOutlineStyleConstants Style);

object

A SftBoxItems object.

Style

Defines the display style of the selection outline.

NameValueDescription
OutlineStyleSftBoxRect0Rectangle - The selection display style, defined using the Items.SelectionStyle 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.SelectionStyle). 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.DropHilightColor.
OutlineStyleSftBoxRectGradient1Rectangle with borders and gradient fill - The selection display style, defined using the Items.SelectionStyle 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.SelectionStyle 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 SftBoxItems Object | Object Hierarchy


Last Updated 08/13/2020 - (email)
© 2024 Softel vdm, Inc.