Skip to main content
A newer version of this page is available. .

PaletteRepository Methods

Represents the repository used to store the palettes that are used to draw the elements of a chart control.
Name Description
Add(Object, Object) Adds an element with the specified key and value to a SortedList object. Inherited from SortedList.
Add(String, Palette) Adds the palette with the specified name to the repository.
Clear() Removes all elements from a SortedList object. Inherited from SortedList.
Clone() Creates a shallow copy of a SortedList object. Inherited from SortedList.
Contains(Object) Determines whether a SortedList object contains a specific key. Inherited from SortedList.
ContainsKey(Object) Determines whether a SortedList object contains a specific key. Inherited from SortedList.
ContainsValue(Object) Determines whether a SortedList object contains a specific value. Inherited from SortedList.
CopyTo(Array, Int32) Copies SortedList elements to a one-dimensional Array object, starting at the specified index in the array. Inherited from SortedList.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetByIndex(Int32) Gets the value at the specified index of a SortedList object. Inherited from SortedList.
GetEnumerator() Returns an IDictionaryEnumerator object that iterates through a SortedList object. Inherited from SortedList.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetKey(Int32) Gets the key at the specified index of a SortedList object. Inherited from SortedList.
GetKeyList() Gets the keys in a SortedList object. Inherited from SortedList.
GetLocalizedPaletteNames() Returns an array of localized palette names. Inherited from PaletteListBase.
GetPaletteNames() Returns an array of strings that are the names of custom palettes within the chart. Inherited from PaletteListBase.
GetType() Gets the Type of the current instance. Inherited from Object.
GetValueList() Gets the values in a SortedList object. Inherited from SortedList.
IndexOfKey(Object) Returns the zero-based index of the specified key in a SortedList object. Inherited from SortedList.
IndexOfValue(Object) Returns the zero-based index of the first occurrence of the specified value in a SortedList object. Inherited from SortedList.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
RegisterPalette(Palette) Performs a check and adds the specified palette to the repository.
RegisterPalette(String, Palette) Obsolete. Adds the specified palette with the specified name to the repository.
Remove(Object) Removes the element with the specified key.
RemoveAt(Int32) Removes the element at the specified index of the PaletteRepository instance.
SetByIndex(Int32, Object) Replaces the value at a specific index in a SortedList object. Inherited from SortedList.
Synchronized(SortedList) static Returns a synchronized (thread-safe) wrapper for a SortedList object. Inherited from SortedList.
IEnumerable.GetEnumerator() Returns an IEnumerator that iterates through the SortedList. Inherited from SortedList.
ToString() Returns a string that represents the current object. Inherited from Object.
TrimToSize() Sets the capacity to the actual number of elements in a SortedList object. Inherited from SortedList.
See Also