Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

Element.Parent Property

Definition

Namespace:
Microsoft.Maui.Controls
Assembly:
Microsoft.Maui.Controls.dll
Source:
Element.cs
Source:
Element.cs
Source:
Element.cs
Source:
Element.cs

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

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


Feedback

Was this page helpful?