Element.AutomationId 屬性

定義

取得或設定值,允許自動化架構尋找此項目並與之互動。

public string AutomationId { get; set; }
member this.AutomationId : string with get, set

屬性值

自動化架構可用來尋找此元素並與其互動的值。

備註

這個值只能在元素上設定一次。

適用於