Spread WinForms 15
FarPoint.Win Assembly / FarPoint.Win Namespace / ElementWindowless Class / Selectable Property
Example


In This Topic
Selectable Property (ElementWindowless)
In This Topic
Gets or sets whether the control can receive focus.
Syntax
'Declaration
 
Public Overridable Property Selectable As Boolean
 
'Usage
 
Dim instance As ElementWindowless
Dim value As Boolean
 
instance.Selectable = value
 
value = instance.Selectable
Example
private void button1_Click(object sender, System.EventArgs e)
{
element.Visible = true;
element.Enabled = false;
element.Selectable = false;
}
See Also