AutomationElement.AutomationElementInformation.IsKeyboardFocusable 属性

定义

获取一个值,该值指示 UI 自动化元素是否可以接受键盘焦点。

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

属性值

如果元素可接收键盘焦点,则为 true;否则为 false

注解

有关详细信息,请参阅 IsKeyboardFocusableProperty

适用于