Element.Parent 屬性

定義

取得或設定這個專案的父 Element 代。

public:
 property Microsoft::Maui::Controls::Element ^ Parent { Microsoft::Maui::Controls::Element ^ get(); void set(Microsoft::Maui::Controls::Element ^ value); };
public Microsoft.Maui.Controls.Element Parent { get; set; }
member this.Parent : Microsoft.Maui.Controls.Element with get, set
Public Property Parent As Element

屬性值

Element 應該是這個專案的父代。

備註

大部分的應用程式作者不需要手動設定父元素。

適用於