Spread WPF Documentation
IndexOf Method (StyleInfoCollection)


GrapeCity.Windows.SpreadSheet.Data Namespace > StyleInfoCollection Class : IndexOf Method
The style (StyleInfo object) for which to search.
Returns the index of the specified style in the collection.
Syntax
'Declaration
 
Public Overridable Function IndexOf( _
   ByVal style As StyleInfo _
) As System.Integer
'Usage
 
Dim instance As StyleInfoCollection
Dim style As StyleInfo
Dim value As System.Integer
 
value = instance.IndexOf(style)
public virtual System.int IndexOf( 
   StyleInfo style
)

Parameters

style
The style (StyleInfo object) for which to search.

Return Value

The style index.
See Also

Reference

StyleInfoCollection Class
StyleInfoCollection Members