|
|
|
SftTree.Enabled Property |
Defines whether the tree control responds to user-generated events.
Syntax
VB.NET |
Boolean = object.Enabled As Boolean |
||
VB |
Boolean = object.Enabled As Boolean |
||
C#.NET |
bool Boolean = object.Enabled; |
||
VC++ |
VARIANT_BOOL Boolean = object->Enabled;
|
||
C |
HRESULT object->get_Enabled(VARIANT_BOOL* Boolean); |
||
Delphi |
Boolean := object.Enabled : WordBool; |
||
VB.NET |
object.Enabled = Boolean As Boolean |
||
VB |
object.Enabled = Boolean As Boolean |
||
C#.NET |
bool object.Enabled = Boolean; |
||
VC++ |
VARIANT_BOOL object->Enabled = Boolean;
|
||
C |
HRESULT object->put_Enabled(VARIANT_BOOL Boolean); |
||
Delphi |
object.Enabled := Boolean : WordBool; |
object
A SftTree object.
Boolean
Defines whether the tree control responds to user-generated events.
Boolean |
Description |
True |
The tree control is enabled and responds to user-generated events. |
False |
The tree control is disabled and does not respond to user-generated events. |
Comments
The Enabled property defines whether the tree control responds to user-generated events.
If a tree control is disabled, it uses the Items.GrayedColor, Headers.GrayedColor, RowHeaders.GrayedColor and RowColumnHeader.GrayedColor properties to draw the text components in a grayed fashion. Graphic components are displayed in a grayed fashion by graying the images, if based on a bitmap. Other image types, like color samples, .NET image objects, etc., must be explicitly replaced with a grayed image if a different rendering of a disabled image is desired.
See Also SftTree Object | Object Hierarchy