Hide

SftTree/OCX 7.5 - ActiveX Tree Control

Display
Print

BackgroundStyle Property, SftTree Object

Defines the scrolling style of the background bitmap.

Syntax

Get

VB.NETStyle = object.BackgroundStyle As SftTreeBackgroundStyleConstants
VBStyle = object.BackgroundStyle As SftTreeBackgroundStyleConstants
C#.NETSftTreeBackgroundStyleConstants Style = object.BackgroundStyle;
VC++enum SftTreeBackgroundStyleConstants Style = object->BackgroundStyle;
enum SftTreeBackgroundStyleConstants Style = object->GetBackgroundStyle();
CHRESULT object->get_BackgroundStyle(enum SftTreeBackgroundStyleConstants* Style);

Put

VB.NETobject.BackgroundStyle = Style As SftTreeBackgroundStyleConstants
VBobject.BackgroundStyle = Style As SftTreeBackgroundStyleConstants
C#.NETSftTreeBackgroundStyleConstants object.BackgroundStyle = Style;
VC++enum SftTreeBackgroundStyleConstants object->BackgroundStyle = Style;
void object->PutBackgroundStyle(enum SftTreeBackgroundStyleConstants Style);
CHRESULT object->put_BackgroundStyle(enum SftTreeBackgroundStyleConstants Style);

object

A SftTree object.

Style

Defines the scrolling style of the background bitmap.

StyleValueDescription
backSftTreeNone0The 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).
backSftTreeHScroll1The 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.
backSftTreeCenter2The 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


Last Updated 08/13/2020 - (email)
© 2024 Softel vdm, Inc.