Spread Windows Forms 9.0 Product Documentation
Selectable Property (ElementStyle)


Gets or sets whether the user can interact with the element.
Syntax
'Declaration
 
Public Overridable Property Selectable As Boolean
'Usage
 
Dim instance As ElementStyle
Dim value As Boolean
 
instance.Selectable = value
 
value = instance.Selectable
public virtual bool Selectable {get; set;}

Property Value

Boolean value: true if users can select the element; false otherwise
Remarks

Set 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.

Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10

See Also

Reference

ElementStyle Class
ElementStyle Members
CanFocus Property
Enabled Property

 

 


Copyright © GrapeCity, inc. All rights reserved.