共用方式為


AutomationElementIdentifiers.HasKeyboardFocusProperty 屬性

定義

識別鍵盤焦點自動化屬性。 鍵盤焦點狀態是由 HasKeyboardFocus 方法傳回。

public:
 static property AutomationProperty ^ HasKeyboardFocusProperty { AutomationProperty ^ get(); };
static AutomationProperty HasKeyboardFocusProperty();
public static AutomationProperty HasKeyboardFocusProperty { get; }
var automationProperty = AutomationElementIdentifiers.hasKeyboardFocusProperty;
Public Shared ReadOnly Property HasKeyboardFocusProperty As AutomationProperty

屬性值

自動化屬性識別碼。

適用於