Aracılığıyla paylaş


Element.RemoveLogicalChild(Element) Method

Definition

Removes the first occurrence of a specific Element from the logical children.

public:
 bool RemoveLogicalChild(Microsoft::Maui::Controls::Element ^ element);
public bool RemoveLogicalChild (Microsoft.Maui.Controls.Element element);
member this.RemoveLogicalChild : Microsoft.Maui.Controls.Element -> bool
Public Function RemoveLogicalChild (element As Element) As Boolean

Parameters

element
Element

The Element to remove.

Returns

true if item was successfully removed from the logical children; otherwise, false. This method also returns false if Element is not found.

Applies to