Element.StyleId 屬性

定義

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

public:
 property System::String ^ StyleId { System::String ^ get(); void set(System::String ^ value); };
public string StyleId { get; set; }
member this.StyleId : string with get, set
Public Property StyleId As String

屬性值

唯一識別專案的字串。

備註

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

適用於