Defines the display style of the selection outline.
Get
| C# | SftTreeOutlineStyleConstants Style = object.OutlineStyle; |
| VB.NET | Style = object.OutlineStyle As SftTreeOutlineStyleConstants |
| C++ | enum SftTreeOutlineStyleConstants Style = object->OutlineStyle; enum SftTreeOutlineStyleConstants Style = object->GetOutlineStyle(); |
| C | HRESULT object->get_OutlineStyle(enum SftTreeOutlineStyleConstants* Style); |
| VB | Style = object.OutlineStyle As SftTreeOutlineStyleConstants |
Put
| C# | SftTreeOutlineStyleConstants object.OutlineStyle = Style; |
| VB.NET | object.OutlineStyle = Style As SftTreeOutlineStyleConstants |
| C++ | enum SftTreeOutlineStyleConstants object->OutlineStyle = Style; void object->PutOutlineStyle(enum SftTreeOutlineStyleConstants Style); |
| C | HRESULT object->put_OutlineStyle(enum SftTreeOutlineStyleConstants Style); |
| VB | object.OutlineStyle = Style As SftTreeOutlineStyleConstants |
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 Items.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. |
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