[]
        
(Showing Draft Content)

FarPoint.Win.Spread.NamedStyleCollection.IndexOf

IndexOf Method

IndexOf(NamedStyle)

Returns the index of the specified style in the collection.

Declaration
public virtual int IndexOf(NamedStyle style)
Public Overridable Function IndexOf(style As NamedStyle) As Integer
Parameters
Type Name Description
NamedStyle style

Style (NamedStyle object) for which to search

Returns
Type Description
int

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