Skip to main content

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)

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

Property Value


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