|
|
|
SftBoxItems.SelectionStyle Property |
Defines the appearance of the currently selected item.
Syntax
VB.NET |
Style = object.SelectionStyle As SftBoxSelectionStyleConstants |
||
VB |
Style = object.SelectionStyle As SftBoxSelectionStyleConstants |
||
C#.NET |
SftBoxSelectionStyleConstants Style = object.SelectionStyle; |
||
VC++ |
enum SftBoxSelectionStyleConstants Style = object->SelectionStyle;
|
||
C |
HRESULT object->get_SelectionStyle(enum SftBoxSelectionStyleConstants* Style); |
||
Delphi |
Style := object.SelectionStyle : TOleEnum; |
||
VB.NET |
object.SelectionStyle = Style As SftBoxSelectionStyleConstants |
||
VB |
object.SelectionStyle = Style As SftBoxSelectionStyleConstants |
||
C#.NET |
SftBoxSelectionStyleConstants object.SelectionStyle = Style; |
||
VC++ |
enum SftBoxSelectionStyleConstants object->SelectionStyle = Style;
|
||
C |
HRESULT object->put_SelectionStyle(enum SftBoxSelectionStyleConstants Style); |
||
Delphi |
object.SelectionStyle := Style : TOleEnum; |
object
A SftBoxItems object.
Style
Defines the appearance of the currently selected item.
Style |
Value |
Description |
0 |
Highlights the entire item. |
|
1 |
Highlights cells only (excludes the label picture, tree lines, item picture). |
|
2 |
Highlights the text in the first displayed cell only. |
|
3 |
Highlights the entire first first displayed cell. |
Comments
The SelectionStyle property defines the appearance of the currently selected item.
When using the 3D display mode (enabled using the Items.Appearance property), selectSftBoxAll is equivalent to selectSftBoxCells.
The Items.NoFocusStyle property is used to change the appearance of selected items in a control that does not have the input focus.
The Items.SelectStyle and Items.NoFocusStyle properties work in conjunction with the Items.OutlineStyle property to determine the exact appearance of selected items. The highlighted portion of an item is rendered using the outline style defined by the Items.OutlineStyle property.