共用方式為


AutomationElement.AutomationElementInformation.IsKeyboardFocusable 屬性

定義

取得值,這個值表示使用者介面自動化專案是否可以接受鍵盤焦點。

public:
 property bool IsKeyboardFocusable { bool get(); };
public bool IsKeyboardFocusable { get; }
member this.IsKeyboardFocusable : bool
Public ReadOnly Property IsKeyboardFocusable As Boolean

屬性值

true 表示控制項可接收鍵盤焦點;否則為 false

備註

如需詳細資訊,請參閱IsKeyboardFocusableProperty

適用於