Click or drag to resize

NamedColorList Class

A list of color name/value pairs.
Inheritance Hierarchy
SystemObject
  System.Collections.GenericListNamedColor
    Rhino.UINamedColorList

Namespace:  Rhino.UI
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public class NamedColorList : List<NamedColor>

The NamedColorList type exposes the following members.

Constructors
  NameDescription
Public methodNamedColorList(String)
Initializes a new instance of the ColorList with the specified name.
Public methodNamedColorList(String, IEnumerableNamedColor)
Initializes a new instance of the ColorList with the specified name and entries.
Top
Properties
  NameDescription
Public propertyCapacity
Gets or sets the total number of elements the internal data structure can hold without resizing.
(Inherited from ListNamedColor.)
Public propertyCount (Inherited from ListNamedColor.)
Public propertyStatic memberDefault
Get the Rhino applications named color list.
Public propertyItem
Gets or sets the element at the specified index.
(Inherited from ListNamedColor.)
Public propertyName
The name of the color list, which may be displayed to the user.
Top
Methods
  NameDescription
Public methodAdd (Inherited from ListNamedColor.)
Public methodAddRange (Inherited from ListNamedColor.)
Public methodAsReadOnly (Inherited from ListNamedColor.)
Public methodBinarySearch(T)
Searches the entire sorted ListT for an element using the default comparer and returns the zero-based index of the element.
(Inherited from ListNamedColor.)
Public methodBinarySearch(T, IComparerT)
Searches the entire sorted ListT for an element using the specified comparer and returns the zero-based index of the element.
(Inherited from ListNamedColor.)
Public methodBinarySearch(Int32, Int32, T, IComparerT)
Searches a range of elements in the sorted ListT for an element using the specified comparer and returns the zero-based index of the element.
(Inherited from ListNamedColor.)
Public methodClear (Inherited from ListNamedColor.)
Public methodContains (Inherited from ListNamedColor.)
Public methodConvertAllTOutput (Inherited from ListNamedColor.)
Public methodCopyTo(T) (Inherited from ListNamedColor.)
Public methodCopyTo(T, Int32) (Inherited from ListNamedColor.)
Public methodCopyTo(Int32, T, Int32, Int32)
Copies a range of elements from the ListT to a compatible one-dimensional array, starting at the specified index of the target array.
(Inherited from ListNamedColor.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodExists (Inherited from ListNamedColor.)
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 methodFind
Searches for an element that matches the conditions defined by the specified predicate, and returns the first occurrence within the entire ListT.
(Inherited from ListNamedColor.)
Public methodFindAll
Retrieves all the elements that match the conditions defined by the specified predicate.
(Inherited from ListNamedColor.)
Public methodFindIndex(PredicateT)
Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the first occurrence within the entire ListT.
(Inherited from ListNamedColor.)
Public methodFindIndex(Int32, PredicateT)
Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the first occurrence within the range of elements in the ListT that extends from the specified index to the last element.
(Inherited from ListNamedColor.)
Public methodFindIndex(Int32, Int32, PredicateT)
Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the first occurrence within the range of elements in the ListT that starts at the specified index and contains the specified number of elements.
(Inherited from ListNamedColor.)
Public methodFindLast
Searches for an element that matches the conditions defined by the specified predicate, and returns the last occurrence within the entire ListT.
(Inherited from ListNamedColor.)
Public methodFindLastIndex(PredicateT)
Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the last occurrence within the entire ListT.
(Inherited from ListNamedColor.)
Public methodFindLastIndex(Int32, PredicateT)
Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the last occurrence within the range of elements in the ListT that extends from the first element to the specified index.
(Inherited from ListNamedColor.)
Public methodFindLastIndex(Int32, Int32, PredicateT)
Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the last occurrence within the range of elements in the ListT that contains the specified number of elements and ends at the specified index.
(Inherited from ListNamedColor.)
Public methodForEach (Inherited from ListNamedColor.)
Public methodGetEnumerator (Inherited from ListNamedColor.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetRange (Inherited from ListNamedColor.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIndexOf(T) (Inherited from ListNamedColor.)
Public methodIndexOf(T, Int32)
Searches for the specified object and returns the zero-based index of the first occurrence within the range of elements in the ListT that extends from the specified index to the last element.
(Inherited from ListNamedColor.)
Public methodIndexOf(T, Int32, Int32)
Searches for the specified object and returns the zero-based index of the first occurrence within the range of elements in the ListT that starts at the specified index and contains the specified number of elements.
(Inherited from ListNamedColor.)
Public methodInsert (Inherited from ListNamedColor.)
Public methodInsertRange (Inherited from ListNamedColor.)
Public methodLastIndexOf(T) (Inherited from ListNamedColor.)
Public methodLastIndexOf(T, Int32)
Searches for the specified object and returns the zero-based index of the last occurrence within the range of elements in the ListT that extends from the first element to the specified index.
(Inherited from ListNamedColor.)
Public methodLastIndexOf(T, Int32, Int32)
Searches for the specified object and returns the zero-based index of the last occurrence within the range of elements in the ListT that contains the specified number of elements and ends at the specified index.
(Inherited from ListNamedColor.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRemove (Inherited from ListNamedColor.)
Public methodRemoveAll
Removes all the elements that match the conditions defined by the specified predicate.
(Inherited from ListNamedColor.)
Public methodRemoveAt (Inherited from ListNamedColor.)
Public methodRemoveRange (Inherited from ListNamedColor.)
Public methodReverse (Inherited from ListNamedColor.)
Public methodReverse(Int32, Int32)
Reverses the order of the elements in the specified range.
(Inherited from ListNamedColor.)
Public methodSort (Inherited from ListNamedColor.)
Public methodSort(IComparerT) (Inherited from ListNamedColor.)
Public methodSort(ComparisonT) (Inherited from ListNamedColor.)
Public methodSort(Int32, Int32, IComparerT) (Inherited from ListNamedColor.)
Public methodToArray (Inherited from ListNamedColor.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodTrimExcess (Inherited from ListNamedColor.)
Public methodTrueForAll (Inherited from ListNamedColor.)
Top
See Also