Element.StyleId Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets a user defined value to uniquely identify the element.
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
Property Value
A string uniquely identifying the element.
Remarks
Use the StyleId property to identify individual elements in your application for identification in UI testing and in theme engines.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.