HeaderPane
Main
Hide
Share Link
Print

BackgroundY Property, SftTree Object

Defines the origin (vertically) of the background bitmap.

Syntax

Get

C#float YOrigin = object.BackgroundY;
VB.NETYOrigin = object.BackgroundY As Single
C++float YOrigin = object->BackgroundY;
float YOrigin = object->GetBackgroundY();
CHRESULT object->get_BackgroundY(float* YOrigin);
VBYOrigin = object.BackgroundY As Single

Put

C#float object.BackgroundY = YOrigin;
VB.NETobject.BackgroundY = YOrigin As Single
C++float object->BackgroundY = YOrigin;
void object->PutBackgroundY(float YOrigin);
CHRESULT object->put_BackgroundY(float YOrigin);
VBobject.BackgroundY = YOrigin As Single

object

A SftTree object.

YOrigin

Defines the origin (vertically) of the background bitmap. If 0 is specified, the background bitmap is aligned with the top/left edge of the tree control window. The units used depend on the container (Visual Basic, Visual C++, etc.) and the coordinate system used.

Comments

The BackgroundY property defines the origin (vertically) of the background bitmap.

The BackgroundPicture property defines the graphic displayed as the control's background. The BackgroundStyle property affects how the bitmap is displayed when the tree control is scrolled horizontally.

See Also SftTree Object | Object Hierarchy


Last Updated 11/03/2026 - (email)
© 2026 Softel vdm, Inc.