共用方式為


Element.Parent Property

Definition

Gets or sets the parent element of the element.

public Xamarin.Forms.Element Parent { get; set; }
member this.Parent : Xamarin.Forms.Element with get, set

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