共用方式為


AutomationPeer.HasKeyboardFocusCore 方法

定義

在衍生類別中覆寫時,被 HasKeyboardFocus() 呼叫。

protected:
 abstract bool HasKeyboardFocusCore();
protected abstract bool HasKeyboardFocusCore ();
abstract member HasKeyboardFocusCore : unit -> bool
Protected MustOverride Function HasKeyboardFocusCore () As Boolean

傳回

Boolean

true 表示項目有鍵盤焦點,否則為 false

適用於

另請參閱