Gets a value indicating whether the control, or one of its child controls, currently has the input focus.
Syntax
'Declaration
Public ReadOnly Property ContainsFocus As Boolean
public bool ContainsFocus {get;}
Property Value
true if the control or one of its child controls currently has the input focus; otherwise, false.
See Also