Gets or sets a value that indicates whether the element is enabled or disabled.
Type
Description
Boolean
A Boolean expression that specifies whether the element is enabled or disabled.
By default, the Enabled property is True. Use the Enabled
property to show the element as disabled ( grayed ). The Selectable
property specifies whether the user can select the element at runtime. The Resizable
property specifies whether the element can be resized at runtime. Use the Enabled
property of the control to disable the entire surface.
The following screen shot shows a few elements, and one disabled element: