Share via


TemplatePartAttribute.Name 屬性

定義

取得或設定該部分的預先定義名稱。

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

屬性值

String

該部分的預先定義名稱。

備註

XAML 文字使用方式

您無法在 XAML 中使用這個屬性。

適用於