FarPoint.Win Assembly > FarPoint.Win Namespace > ElementControl Class : Focused Property |
'Declaration Public Overrides ReadOnly Property Focused As Boolean
'Usage Dim instance As ElementControl Dim value As Boolean value = instance.Focused
public override bool Focused {get;}
Specify whether the control can receive the focus by setting the CanFocus property or the Enabled property.
Move the focus to the control by calling the Focus method.
This property is available at run time only.
For some controls, when the control receives the focus, if it can, the control can display a focus rectangle. Specify whether and how the focus rectangle appears by setting the DrawFocusRectangle property.
Some controls display a cursor when they receive the focus. Specify the position of the cursor by setting the EditModeCursorPosition property.
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8