Visual Basic (Declaration) | |
---|---|
Public Overridable Property Selectable As Boolean |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As ElementStyle Dim value As Boolean instance.Selectable = value value = instance.Selectable |
C# | |
---|---|
public virtual bool Selectable {get; set;} |
Property Value
Boolean value: true if users can select the element; false otherwiseSet this property to specify whether users can interact with an element. For example, whether they can push a button or select an item.
Contrast this property with the CanFocus property and the Enabled property. Use the CanFocus property to specify whether an element can receive the focus. Use the Enabled property to specify whether the element looks grayed and users can interact with it.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2