Skip to main content

Contains Method

Determines whether the ICollection(T) contains a specific value.

Definition​

Namespace: Avalonia.Styling
Assembly: Avalonia.Base (in Avalonia.Base.dll)

public bool Contains(
IStyle item
)

Parameters​

  IStyle
The object to locate in the ICollection(T).

Return Value​

Boolean
true if item is found in the ICollection(T); otherwise, false.

Implements​

ICollection(T).Contains(T)

See Also​

Reference​

Styles Class
Avalonia.Styling Namespace