ChartCategoryCollection Class

Represents collection of ChartCategory
Inheritance Hierarchy

Namespace:  Aspose.Slides.Charts
Assembly:  Aspose.Slides (in Aspose.Slides.dll) Version: (21.12)
public class ChartCategoryCollection : IChartCategoryCollection, 
	IGenericCollection<IChartCategory>, IEnumerable<IChartCategory>, IEnumerable, 

The ChartCategoryCollection type exposes the following members.

Public propertyCount
Returns a number of elements int the collection. Read-only Int32.
Public propertyGroupingLevelCount
Returns count of category grouping levels used. Is more then one for multilevel categories. Read-only Int32.
Public propertyIsSynchronized
Returns a value indicating whether access to the List is synchronized (thread safe). Read-only Boolean.
Public propertyItem
Gets the element at the specified index.
Public propertySyncRoot
Returns an object that can be used to synchronize access to the collection. Read-only Object.
Public propertyUseCells
If true then worksheet is used for storing categories (this case supports a multi-level categories). If false then worksheet is NOT used for storing values (and this case doesn't support a multi-level categories). Read/write Boolean.
Public methodAdd(Object)
Creates new ChartCategory from value and adds it to the collection.
Public methodAdd(IChartDataCell)
If category exists in collection, return it. Else creates new chart category from IChartDataCell and adds it to the collection.
Public methodClear
Removes all elements from the collection.
Public methodCopyTo
Copies all elements of the collection to the specified array.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetEnumerator
Returns an enumerator that iterates through the collection.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIndexOf
Searches for the specified ChartCategory and returns the zero-based index of the first occurrence within the entire Collection.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRemove
Removes the specified value.
Public methodRemoveAt
Removes the element at the given index.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
See Also