[]
        
(Showing Draft Content)

GrapeCity.Win.Spread.InputMan.CellType.SubStyleCollection

SubStyleCollection Class

Represents a collection of SubStyle objects.

Inheritance
SubStyleCollection
Namespace: GrapeCity.Win.Spread.InputMan.CellType
Assembly: GrapeCity.Win.PluginInputMan.dll
Syntax
[TypeConverter(typeof(SubStylesConverter))]
public class SubStyleCollection : BaseKeyCollection, ICollection, IEnumerable
<TypeConverter(GetType(SubStylesConverter))>
Public Class SubStyleCollection
    Inherits BaseKeyCollection
    Implements ICollection, IEnumerable

Constructors

Name Description
SubStyleCollection()

Initializes a new instance of the SubStyleCollection class.

SubStyleCollection(string[], SubStyle[])

Initializes a new instance of the SubStyleCollection class.

Properties

Name Description
this[int]

Gets the SubStyle at the specified index.

this[string]

Gets the SubStyle with the specified key.

Methods

Name Description
Add(string)

Adds a new SubStyle with the specified key into the SubStyleCollection.

Add(string, SubStyle)

Adds an item with the specified key and value into the SubStyleCollection.

AddRange(string[], SubStyle[])

Adds the specified key array and SubStyle array into the SubStyleCollection.

Clear()

Removes all elements from the SubStyleCollection.

CopyTo(SubStyle[])

Copies the items of the SubStyleCollection to a compatible one-dimensional array of type SubStyle, starting from the first index of the target array.

CopyTo(SubStyle[], int)

Copies the items of the SubStyleCollection to a compatible one-dimensional array of type SubStyle, starting at the specified zero-based index of the target array.

Insert(int, string)

Inserts a new SubStyle with the specified key into the SubStyleCollection.

Insert(int, string, SubStyle)

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

OnCollectionChanged(CollectionChangeEventArgs)

Raises CollectionChanged event.

Remove(string)

Removes the element with the specified key from the SubStyleCollection.

RemoveAt(int)

Removes the element with the specified index from the SubStyleCollection.