Spread Windows Forms 15.0
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / AppearanceStyleCollection Class / AddRange Method
The target AppearanceStyleInfo collection.
Example


In This Topic
    AddRange Method (AppearanceStyleCollection)
    In This Topic
    Adds a set of AppearanceStyleInfos to the current AppearanceStyleCollection.
    Syntax
    'Declaration
     
    
    Public Sub AddRange( _
       ByVal items As IEnumerable(Of AppearanceStyleInfo) _
    ) 
    'Usage
     
    
    Dim instance As AppearanceStyleCollection
    Dim items As IEnumerable(Of AppearanceStyleInfo)
     
    instance.AddRange(items)
    public void AddRange( 
       IEnumerable<AppearanceStyleInfo> items
    )

    Parameters

    items
    The target AppearanceStyleInfo collection.
    Exceptions
    ExceptionDescription
    One of the items is a null reference (Nothing in Visual Basic).
    Example
    The following code example shows how to combine two predefined AppearanceStyleInfos to generate the required CellStyle object. The program sets the RoundedBorder to alternating columns. This code example is part of a larger example provided for the NamedAppearanceStyleInfo class.
    See Also