Element.Parent Property

Definition

Gets or sets the parent Element of this 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

Property Value

The Element which should be the parent of this element.

Remarks

Most application authors will not need to set the parent element by hand.

Applies to