編輯

共用方式為


UIElement.Uid Property

Definition

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

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

Property Value

A string that is the unique identifier for this element.

Remarks

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

Dependency Property Information

Item Value
Identifier field UidProperty
Metadata properties set to true None

Applies to

See also