The Enabled property is used to enable or disable a control.
The following example sets the disables a button control: