StylesIndexOf Method

Determines the index of a specific item in the IListT.

Definition

Namespace: Avalonia.Styling
Assembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
public int IndexOf(
	IStyle item
)

Parameters

item  IStyle
The object to locate in the IListT.

Return Value

Int32
The index of item if found in the list; otherwise, -1.

Implements

IListTIndexOf(T)

See Also