Spread Windows Forms 17
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / DefaultStyleCollection Class / Insert Method
Index at which to insert the style
Style (NamedStyle object) to insert in the collection


In This Topic
    Insert Method (DefaultStyleCollection)
    In This Topic
    Not supported; calling this method throws an exception because the collection is read-only.
    Syntax
    'Declaration
     
    
    Public Sub Insert( _
       ByVal index As Integer, _
       ByVal style As NamedStyle _
    ) 
    'Usage
     
    
    Dim instance As DefaultStyleCollection
    Dim index As Integer
    Dim style As NamedStyle
     
    instance.Insert(index, style)
    public void Insert( 
       int index,
       NamedStyle style
    )

    Parameters

    index
    Index at which to insert the style
    style
    Style (NamedStyle object) to insert in the collection
    See Also