Gets a value indicating whether the control, or one of its child controls, currently has the input focus.
public bool ContainsFocus {get;}
'宣言
Public ReadOnly Property ContainsFocus As Boolean
プロパティ値
true if the control or one of its child controls currently has the input focus; otherwise,
false.