FlexGrid for WinForms
IndexOf Method (CellStyleCollection)

Style object to look for.
Gets the index of a style in the collection.
Public Function IndexOf( _
   ByVal style As CellStyle _
) As Integer
Dim instance As CellStyleCollection
Dim style As CellStyle
Dim value As Integer
value = instance.IndexOf(style)
public int IndexOf( 
   CellStyle style
int IndexOf( 
   CellStyle^ 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.

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also


CellStyleCollection Class
CellStyleCollection Members



Copyright (c) GrapeCity, inc. All rights reserved.

Send Feedback