| Visual Basic (Declaration) | |
|---|---|
Public Overrides ReadOnly Property Focused As Boolean | |
| Visual Basic (Usage) | Copy Code |
|---|---|
| |
| C# | |
|---|---|
public override bool Focused {get;} | |
Return Value
Boolean value: true if the edit control has focus; false otherwiseSpecify whether the edit 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.
Some controls display a cursor when they receive the focus. Specify the position of the cursor by setting the EditModeCursorPosition property.