Defines the origin (horizontally) of the background bitmap.
Get
| C# | float XOrigin = object.BackgroundX; |
| VB.NET | XOrigin = object.BackgroundX As Single |
| C++ | float XOrigin = object->BackgroundX; float XOrigin = object->GetBackgroundX(); |
| C | HRESULT object->get_BackgroundX(float* XOrigin); |
| VB | XOrigin = object.BackgroundX As Single |
Put
| C# | float object.BackgroundX = XOrigin; |
| VB.NET | object.BackgroundX = XOrigin As Single |
| C++ | float object->BackgroundX = XOrigin; void object->PutBackgroundX(float XOrigin); |
| C | HRESULT object->put_BackgroundX(float XOrigin); |
| VB | object.BackgroundX = XOrigin As Single |
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.
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