Spread WinForms 15
GrapeCity.Win.PluginInputMan Assembly / GrapeCity.Win.Spread.InputMan.CellType Namespace / SideButtonBaseInfo Class / Enabled Property


In This Topic
Enabled Property (SideButtonBaseInfo)
In This Topic
Gets or sets a value that indicates whether this SideButtonBase is enabled.
Syntax
'Declaration
 
Public Property Enabled As Boolean
 
'Usage
 
Dim instance As SideButtonBaseInfo
Dim value As Boolean
 
instance.Enabled = value
 
value = instance.Enabled

Property Value

A bool value, true if enabled; otherwise, false.
The default is true.
Remarks
With the Enabled property, you can enable or disable controls at run time. For example, you can disable controls that do not apply to the current state of the application. You can also disable a control to restrict its use. For example, a button can be disabled to prevent the user from clicking it. If a control is disabled, it cannot be selected.
See Also