FlexGrid for WinForms
IndexOf Method (CellStyleCollection)



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
'Usage
 
Dim instance As CellStyleCollection
Dim style As CellStyle
Dim value As Integer
 
value = instance.IndexOf(style)
public int IndexOf( 
   CellStyle style
)
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.
Requirements

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

Reference

CellStyleCollection Class
CellStyleCollection Members

 

 


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

Send Feedback