VisualElement.ClassListContains

Declaration

public bool ClassListContains(string cls);

Parameters

cls The name of the class for the search query.

Returns

bool Returns true if the class is part of the list. Otherwise, returns false.

Description

Searches for a class in the class list of this element.


Did you find this page useful? Please give it a rating: