|
|
|
SftTree.BackgroundStyle Property |
Defines the scrolling style of the background bitmap.
Syntax
VB.NET |
Style = object.BackgroundStyle As SftTreeBackgroundStyleConstants |
||
VB |
Style = object.BackgroundStyle As SftTreeBackgroundStyleConstants |
||
C#.NET |
SftTreeBackgroundStyleConstants Style = object.BackgroundStyle; |
||
VC++ |
enum SftTreeBackgroundStyleConstants Style = object->BackgroundStyle;
|
||
C |
HRESULT object->get_BackgroundStyle(enum SftTreeBackgroundStyleConstants* Style); |
||
Delphi |
Style := object.BackgroundStyle : TOleEnum; |
||
VB.NET |
object.BackgroundStyle = Style As SftTreeBackgroundStyleConstants |
||
VB |
object.BackgroundStyle = Style As SftTreeBackgroundStyleConstants |
||
C#.NET |
SftTreeBackgroundStyleConstants object.BackgroundStyle = Style; |
||
VC++ |
enum SftTreeBackgroundStyleConstants object->BackgroundStyle = Style;
|
||
C |
HRESULT object->put_BackgroundStyle(enum SftTreeBackgroundStyleConstants Style); |
||
Delphi |
object.BackgroundStyle := Style : TOleEnum; |
object
A SftTree object.
Style
Defines the scrolling style of the background bitmap.
Style |
Value |
Description |
0 |
The bitmap is never scrolled horizontally and is aligned with the top/left edge of the tree control window (or the offset defined using the properties BackgroundX and BackgroundY). |
|
1 |
The bitmap is aligned with the top/left edge of the tree control window (or the offset defined using the properties BackgroundX and BackgroundY) and the alignment is further adjusted by the current horizontal scrolling offset (see Items.HorizontalOffset) resulting in horizontal scrolling of the background. |
|
2 |
The bitmap is centered vertically and horizontally within the available area. Bitmap transparency is used for the bitmap when used with this style. |
Comments
The BackgroundStyle property defines the scrolling style of the background bitmap.
If a background picture has been defined using the BackgroundPicture property, the BackgroundStyle property defines the bitmap positioning and behavior when the tree control contents are scrolled horizontally.
See Also SftTree Object | Object Hierarchy