Share via


Layout.Contains(IView) Method

Definition

Determines if the specified child view is contained in this layout.

public:
 virtual bool Contains(Microsoft::Maui::IView ^ item);
public bool Contains (Microsoft.Maui.IView item);
abstract member Contains : Microsoft.Maui.IView -> bool
override this.Contains : Microsoft.Maui.IView -> bool
Public Function Contains (item As IView) As Boolean

Parameters

item
IView

The child view for which to determine if it is contained in this layout.

Returns

true if item exists in this layout, otherwise false.

Implements

Applies to