Defines the appearance of the scroll bars.
Get
| C# | SftTreeScrollbarStyleConstants Style = object.ScrollbarStyle; |
| VB.NET | Style = object.ScrollbarStyle As SftTreeScrollbarStyleConstants |
| C++ | enum SftTreeScrollbarStyleConstants Style = object->ScrollbarStyle; enum SftTreeScrollbarStyleConstants Style = object->GetScrollbarStyle(); |
| C | HRESULT object->get_ScrollbarStyle(enum SftTreeScrollbarStyleConstants* Style); |
| VB | Style = object.ScrollbarStyle As SftTreeScrollbarStyleConstants |
Put
| C# | SftTreeScrollbarStyleConstants object.ScrollbarStyle = Style; |
| VB.NET | object.ScrollbarStyle = Style As SftTreeScrollbarStyleConstants |
| C++ | enum SftTreeScrollbarStyleConstants object->ScrollbarStyle = Style; void object->PutScrollbarStyle(enum SftTreeScrollbarStyleConstants Style); |
| C | HRESULT object->put_ScrollbarStyle(enum SftTreeScrollbarStyleConstants Style); |
| VB | object.ScrollbarStyle = Style As SftTreeScrollbarStyleConstants |
object
Style
Defines the appearance of the scroll bars.
| Style | Value | Description |
|---|---|---|
| scrollstyleSftTreeStandard | 0 | The scroll bar is a standard scroll bar (the default appearance used by the operating system). |
| scrollstyleSftTreeFlat | 1 | The scroll bar has a flat appearance. |
| scrollstyleSftTreeFlat3D | 2 | The scroll bar has a flat appearance. The scroll bar portion where the mouse cursor is located will be displayed in a 3D fashion. |
The ScrollbarStyle property defines the appearance of the scroll bars.
The presence of scroll bars is also dependent on the settings of the Scrollbars property.
This property has no effect if Windows themes are available (even if UseThemes is set to False).
See Also SftTree Object | Object Hierarchy