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