ElementHost.Focused 屬性

定義

取得值,這個值表示控制項是否擁有輸入焦點。Gets a value that indicates whether the control has input focus.

public:
 virtual property bool Focused { bool get(); };
public override bool Focused { get; }
member this.Focused : bool
Public Overrides ReadOnly Property Focused As Boolean

屬性值

Boolean

如果焦點在控制項,則為 true,否則為 falsetrue if the control has focus; otherwise, false.

適用於