FormBuildCommandButtonControl.enabled Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
enabled() |
Determines whether to enable or disable the object. |
enabled(Boolean) |
enabled()
Determines whether to enable or disable the object.
public:
override bool enabled();
public override bool enabled ();
override this.enabled : unit -> bool
Public Overrides Function enabled () As Boolean
Returns
true if the object is enabled; otherwise, false.
Remarks
The enabled property allows controls to be enabled or disabled at run time. For example, you can disable objects that do not apply to the current state of the application. You can also disable a control that is used only for display purposes, such as an error message, which provides read-only information.