Element.StyleId 屬性

定義

取得或設定使用者定義值來唯一識別項目。

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

屬性值

唯一識別專案的字串。

備註

使用 StyleId 屬性來識別應用程式中的個別元素,以在 UI 測試和主題引擎中識別。

適用於