VisualStateGroupList.Contains(VisualStateGroup) Method
Definition
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.
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
.