Back to Devexpress

PaletteRepository Members

corelibraries-devexpress-dot-xtracharts-dot-paletterepository-dot-underscore-members.md

latest15.1 KB
Original Source

PaletteRepository Members

Represents the repository used to store the palettes that are used to draw the elements of a chart control.

Constructors

NameDescription
PaletteRepository()Initializes a new instance of the PaletteRepository class with the default settings.

Properties

NameDescription
CapacityGets or sets the capacity of a SortedList object. Inherited from SortedList.
CountGets the number of elements contained in a SortedList object. Inherited from SortedList.
IsFixedSizeGets a value indicating whether a SortedList object has a fixed size. Inherited from SortedList.
IsReadOnlyGets a value indicating whether a SortedList object is read-only. Inherited from SortedList.
IsSynchronizedGets a value indicating whether access to a SortedList object is synchronized (thread safe). Inherited from SortedList.
Item[Object]Gets or sets the value associated with a specific key in a SortedList object. Inherited from SortedList.
Item[String]Provides access to individual palettes in the repository by their names.
KeysGets the keys in a SortedList object. Inherited from SortedList.
LocalizedPaletteNamesReturns an array of localized palette names.
PaletteNamesGets an array of available palette names.
SyncRootGets an object that can be used to synchronize access to a SortedList object. Inherited from SortedList.
ValuesGets the values in a SortedList object. Inherited from SortedList.

Methods

NameDescription
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) staticDetermines 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() protectedCreates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) staticDetermines 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) staticReturns 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

PaletteRepository Class

DevExpress.XtraCharts Namespace