Defines the tree control's border style used.
Get
| C# | short Style = object.BorderStyle; |
| VB.NET | Style = object.BorderStyle As Short |
| C++ | short Style = object->BorderStyle; short Style = object->GetBorderStyle(); |
| C | HRESULT object->get_BorderStyle(short* Style); |
| VB | Style = object.BorderStyle As Integer |
Put
| C# | short object.BorderStyle = Style; |
| VB.NET | object.BorderStyle = Style As Short |
| C++ | short object->BorderStyle = Style; void object->PutBorderStyle(short Style); |
| C | HRESULT object->put_BorderStyle(short Style); |
| VB | object.BorderStyle = Style As Integer |
object
Style
Defines the tree control's border style used.
| Style | Description |
|---|---|
| 0 | None. The tree control does not have a border. |
| 1 | Paints the control with a border. |
The BorderStyle property defines the tree control's border style used.
The tree control's border can be controlled by the Appearance property. Depending on the Appearance property, the tree control's border is a fixed, single line or a 3D style border.
If Windows themes are used, this property will cause a border to be displayed (if set to 1), rendered using the current theme's style.
This property is read-only at run-time.
See Also SftTree Object | Object Hierarchy