SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftMask/OCX 7.0 - Masked Edit Control
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftPrintPreview/DLL 2.0 - Print Preview Control (discontinued)
SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftDirectory 3.5 - File/Folder Control (discontinued)
SftMask/OCX 7.0 - Masked Edit Control
SftOptions 1.0 - Registry/INI Control (discontinued)
SftPrintPreview/OCX 1.0 - Print Preview Control (discontinued)
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftTabs/NET 6.0 - Tab Control (discontinued)
SftTree/NET 2.0 - Tree Control
Defines the scrolling style of the background bitmap.
Get
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; enum SftTreeBackgroundStyleConstants Style = object->GetBackgroundStyle(); |
C | HRESULT object->get_BackgroundStyle(enum SftTreeBackgroundStyleConstants* Style); |
Put
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; void object->PutBackgroundStyle(enum SftTreeBackgroundStyleConstants Style); |
C | HRESULT object->put_BackgroundStyle(enum SftTreeBackgroundStyleConstants Style); |
object
Style
Defines the scrolling style of the background bitmap.
Style | Value | Description |
---|---|---|
backSftTreeNone | 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). |
backSftTreeHScroll | 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. |
backSftTreeCenter | 2 | The bitmap is centered vertically and horizontally within the available area. Bitmap transparency is used for the bitmap when used with this style. |
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