ComponentOne FlexGrid for WinForms
IndexOf Method (CellStyleCollection)

C1.Win.C1FlexGrid Namespace > CellStyleCollection Class : IndexOf Method
Style object to look for.
Gets the index of a style in the collection.
Syntax
'Declaration
 
Public Function IndexOf( _
   ByVal style As CellStyle _
) As Integer
public int IndexOf( 
   CellStyle style
)

Parameters

style
Style object to look for.

Return Value

Index of the style in the collection, or -1 if the style is not a member of the collection.
See Also

Reference

CellStyleCollection Class
CellStyleCollection Members