| Visual Basic (Declaration) | |
|---|---|
Public Overrides Property Selectable As Boolean | |
| Visual Basic (Usage) | Copy Code |
|---|---|
| |
| C# | |
|---|---|
public override bool Selectable {get; set;} | |
Return Value
Boolean value: true if selectable; false otherwiseSet the Selectable property to specify whether users can interact with the edit control. For example, whether they can push a button or select an item.
Contrast the Selectable property with the CanFocus property and the Enabled property. Use the CanFocus property to specify whether a control can receive the focus. Use the Enabled property to specify whether the control looks grayed and users can interact with it.