XlsStylesCollection Class |
Namespace: Spire.Xls.Core.Spreadsheet.Collections
The XlsStylesCollection type exposes the following members.
| Name | Description | |
|---|---|---|
|
|
Capacity |
Gets or sets the number of elements that the System.Collections.CollectionBase can contain.
(Inherited from
CollectionBase
T
.)
|
|
|
Count |
Gets the number of elements contained in the System.Collections.CollectionBase instance.
(Inherited from
CollectionBase
T
.)
|
|
|
InnerList |
Gets the list of elements in the instance.
(Inherited from
CollectionBase
T
.)
|
|
|
IsReadOnly |
Gets a value indicating whether the collection is read-only.
(Inherited from
CollectionBase
T
.)
|
|
|
Item Int32 |
Gets or sets the item at the specified index in the collection.trigger OnSet and OnSetComplete method when set item
(Inherited from
CollectionBase
T
.)
|
|
|
Item String |
Returns a single object from a collection. Read-only.
|
|
|
List |
Gets the list of elements in the instance.
(Inherited from
CollectionBase
T
.)
|
|
|
Parent |
Read-oonly. The parent object for the specified object.
(Inherited from
CollectionExtended
T
.)
|
| Name | Description | |
|---|---|---|
|
|
Add(String) |
Adds a new style with the specified name to the workbook.
|
|
|
Add(IStyle) |
Adds a style to the collection.
|
|
|
Clear |
Removes all objects from the System.Collections.CollectionBase instance.
(Inherited from
CollectionBase
T
.)
|
|
|
Clone |
Creates copy of the current instance.
(Overrides
CollectionExtended
T
Clone(Object)
.)
|
|
|
CompareBorder |
Compare Border interfaces.
|
|
|
CompareBorders |
Compare all Border Collections items.
|
|
|
CompareStyles |
Compares two IStyle objects to determine if they have the same style properties.
|
|
|
Contains(T) |
Determines whether the collection contains a specific item.
(Inherited from
CollectionBase
T
.)
|
|
|
Contains(String) |
Check collection contains style with specified name.
|
|
|
ContainsSameStyle |
Determines whether the current object contains the same style as the specified style.
|
|
|
CopyTo |
Copies the elements of the collection to an array, starting at a particular array index.
(Inherited from
CollectionBase
T
.)
|
|
|
CreateBuiltInStyle |
Creates a built-in style for an Excel document with the specified name.
|
|
|
EnsureCapacity |
Enlarges internal storage if necessary.
(Inherited from
CollectionExtended
T
.)
|
|
|
Equals |
Determines whether the specified object is equal to the current object.
(Inherited from
Object
.)
|
|
|
Finalize |
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from
Object
.)
|
|
|
FindParent(Type) |
Method used to find parent within a specific type.
(Inherited from
CollectionExtended
T
.)
|
|
|
FindParent(Type, Boolean) |
Method used to find parent within a specific type.
(Inherited from
CollectionExtended
T
.)
|
|
|
GetEnumerator |
Returns an enumerator that iterates through this instance.
(Inherited from
CollectionBase
T
.)
|
|
|
GetHashCode |
Serves as the default hash function.
(Inherited from
Object
.)
|
|
|
GetType |
Gets the
Type
of the current instance.
(Inherited from
Object
.)
|
|
|
IndexOf |
Returns the zero-based index of the first occurrence of a specified item within the collection.
(Inherited from
CollectionBase
T
.)
|
|
|
Insert |
Inserts an element into the list at the specified index.
(Inherited from
CollectionBase
T
.)
|
|
|
MemberwiseClone |
Creates a shallow copy of the current
Object
.
(Inherited from
Object
.)
|
|
|
OnClear |
OnClear is invoked before Clear behavior.
(Inherited from
CollectionExtended
T
.)
|
|
|
OnClearComplete |
OnClear is invoked after Clear behavior.
(Inherited from
CollectionExtended
T
.)
|
|
|
OnInsert |
Performs additional processes before inserting
a new element into the collection.
(Inherited from
CollectionExtended
T
.)
|
|
|
OnInsertComplete |
Performs additional processes after inserting
a new element into the collection.
(Inherited from
CollectionExtended
T
.)
|
|
|
OnRemove |
Performs additional processes before removing
an element from the collection.
(Inherited from
CollectionExtended
T
.)
|
|
|
OnRemoveComplete |
Performs additional processes after removing
an element from the collection.
(Inherited from
CollectionExtended
T
.)
|
|
|
OnSet |
Performs additional processes before setting
a value in the collection.
(Inherited from
CollectionExtended
T
.)
|
|
|
OnSetComplete |
Performs additional processes after setting a value in the collection.
(Inherited from
CollectionExtended
T
.)
|
|
|
Remove(T) |
Removes the first occurrence of a specific object from the collection.
(Inherited from
CollectionBase
T
.)
|
|
|
Remove(String) |
Removes style from the colleciton.
|
|
|
RemoveAt |
Removes the element at the specified index of this instance.
(Inherited from
CollectionBase
T
.)
|
|
|
SetParent |
Sets parent object for class.
(Inherited from
CollectionExtended
T
.)
|
|
|
ToString |
Returns a string that represents the current object.
(Inherited from
Object
.)
|
|
|
UpdateStyleRecords |
Updates style record of each style in the collection according to the xf indexes.
|
| Name | Description | |
|---|---|---|
|
|
Changed |
Change in the collection.
(Inherited from
CollectionExtended
T
.)
|