IndexOf Method
Determines the index of a specific item in the IList(T).
Definition
Namespace: Avalonia.Styling
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
public int IndexOf(
IStyle item
)
Public Function IndexOf (
item As IStyle
) As Integer
abstract IndexOf :
item : IStyle -> int
override IndexOf :
item : IStyle -> int
Parameters
Return Value
Int32
The index of item if found in the list; otherwise, -1.