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


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

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

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

member Uid : string with 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
© 2018 Microsoft