共用方式為


AutomationElementIdentifiers.IsEnabledProperty 屬性

定義

識別已啟用的判斷自動化屬性。 啟用狀態會指出自動化對等所參考的專案是否已啟用。 IsEnabled方法會傳回目前的狀態。

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

屬性值

自動化屬性識別碼。

適用於