UIElement.Uid UIElement.Uid UIElement.Uid UIElement.Uid Property

定義

取得或設定這個項目的唯一識別項 (適用於當地語系化)。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

屬性值

這個項目之唯一識別項的字串。A string that is the unique identifier for this element.

備註

供設計工具用來取得x:Uid值 (如需詳細資訊, 請參閱WPF 全球化和當地語系化總覽)。Used by designers to get the x:Uid value (see WPF Globalization and Localization Overview for more information).

相依性屬性資訊Dependency Property Information

識別碼欄位Identifier field UidProperty
中繼資料屬性設定為trueMetadata properties set to true None

適用於

另請參閱