ElementHost.Focused 属性

定义

获取一个值,该值指示控件是否具有输入焦点。

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

属性值

如果控件有焦点,则为 true;否则为 false

适用于