Skip to main content
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com 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; }
public:
property String^ Uid {
	String^ get();
	void set(String^ value);
}
member Uid : string with get, set
Public Property Uid As String

Property Value

Type:

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

UidProperty

Metadata properties set to true

None

.NET Framework
Available since 3.0
Return to top