Windows apps
Collapse the table of content
Expand the table of content
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

UIElement.Uid Property


Gets or sets the unique identifier (for localization) for this element. This is a dependency property.

Namespace:   System.Windows
Assembly:  PresentationCore (in PresentationCore.dll)

public string Uid { get; set; }

Property Value

Type: System.String

A string that is the unique identifier for this element.

Used by designers to get the x:Uid value (see WPF Globalization and Localization Overview for more information).

Identifier field


Metadata properties set to true


.NET Framework
Available since 3.0
Return to top
© 2016 Microsoft