UIElement.Uid Property

 
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; }

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

UidProperty

Metadata properties set to true

None

.NET Framework
Available since 3.0
Return to top
Show: