Spread Windows Forms 7.0 Product Documentation
Insert(Int32,String,Style) Method
See Also  Support Options
GrapeCity.Win.PluginInputMan Assembly > GrapeCity.Win.Spread.InputMan.CellType Namespace > StyleCollection Class > Insert Method : Insert(Int32,String,Style) Method


index
The index of this inserted Style.
key
The key of this inserted Style.
style
The inserted Style object.

Glossary Item Box

Inserts an item with the specified key and value into the StyleCollection.

Syntax

Visual Basic (Declaration) 
Public Overloads Sub Insert( _
   ByVal index As Integer, _
   ByVal key As String, _
   ByVal style As Style _
) 
Visual Basic (Usage)Copy Code
Dim instance As StyleCollection
Dim index As Integer
Dim key As String
Dim style As Style
 
instance.Insert(index, key, style)
C# 
public void Insert( 
   int index,
   string key,
   Style style
)

Parameters

index
The index of this inserted Style.
key
The key of this inserted Style.
style
The inserted Style object.

Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.