Enables or disables the control.
Type | Description | |||
Boolean | A boolean expression that indicates whether the control is enabled or disabled. |
Use the Enabled property to disable the control. Use the ForeColor property to specify the control's foreground color. Use the BackColor property to specify the control's background color. Use the Font property to specify the control's font.
The following VB sample disables the control:
CascadeTree1.Enabled = False
The following C++ sample disables the control:
m_cascadetree.SetEnabled( FALSE );
The following VB.NET sample disables the control:
AxCascadeTree1.Enabled = False
The following C# sample disables the control:
axCascadeTree1.Enabled = false;
The following VFP sample disables the control:
With thisform.CascadeTree1 .Object.Enabled = False EndWith