Share via


VisualStateGroupList.Contains(VisualStateGroup) Method

Definition

Checks whether item is in the list of visual state groups.

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

Parameters

item
VisualStateGroup

The visual state group whose membership to check.

Returns

true if item is in the list of groups. Otherwise, false.

Implements

Applies to