The ColorPalette type exposes the following members.
Constructors
Name | Description | |
---|---|---|
ColorPalette |
Creates an instance of the color palette with the specified theme name.
|
Methods
Name | Description | |
---|---|---|
Add(Color) |
Adds the specified color to the palette.
|
|
Add(Color, String) |
Adds the color with the specified name.
|
|
Add(Color, String, String) |
Adds the color with the specified name and description.
|
|
Clear |
Deletes all entries from the palette.
|
|
Clone |
Returns a clone of this palette with the specified theme name.
|
|
Contains |
Determines whether a color is in the palette.
|
|
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 the Object is reclaimed by garbage collection. (Inherited from Object.) |
|
GetColorPalette |
Returns one of the predefined color palettes.
|
|
GetHashCode |
Serves as a hash function for a particular type. (Inherited from Object.) |
|
GetType |
Gets the Type of the current instance. (Inherited from Object.) |
|
IndexOf |
Searches for the specified color in the palette and returns a zero-based index of the found entry.
|
|
MemberwiseClone |
Creates a shallow copy of the current Object. (Inherited from Object.) |
|
Set(Int32, Color) |
Assigns the color to the palette entry with the specified index.
|
|
Set(Int32, Color, String) |
Assigns the color and color name to the palette entry with the specified index.
|
|
ToString |
Returns a string that represents the current object. (Inherited from Object.) |
Properties
Name | Description | |
---|---|---|
Count |
Gets the number of palette entries.
|
|
Item |
Gets the palette entry with the specified index.
|
|
ThemeName |
Gets or sets the name of the color theme.
|
Explicit Interface Implementations
Name | Description | |
---|---|---|
IEnumerable<(Of <<'(ColorPaletteEntry>)>>)..::..GetEnumerator | ||
IEnumerable..::..GetEnumerator |