HeaderPane
Main
Hide
Share Link
Print

BackgroundX Property, SftTree Object

Defines the origin (horizontally) of the background bitmap.

Syntax

Get

C#float XOrigin = object.BackgroundX;
VB.NETXOrigin = object.BackgroundX As Single
C++float XOrigin = object->BackgroundX;
float XOrigin = object->GetBackgroundX();
CHRESULT object->get_BackgroundX(float* XOrigin);
VBXOrigin = object.BackgroundX As Single

Put

C#float object.BackgroundX = XOrigin;
VB.NETobject.BackgroundX = XOrigin As Single
C++float object->BackgroundX = XOrigin;
void object->PutBackgroundX(float XOrigin);
CHRESULT object->put_BackgroundX(float XOrigin);
VBobject.BackgroundX = XOrigin As Single

object

A SftTree object.

XOrigin

Defines the origin (horizontally) 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 BackgroundX property defines the origin (horizontally) 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.