Name | Description | |
---|---|---|
ColorPalette Constructor | Creates an instance of the color palette with the specified theme name. |
The following tables list the members exposed by ColorPalette.
Name | Description | |
---|---|---|
ColorPalette Constructor | Creates an instance of the color palette with the specified theme name. |
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. |
Name | Description | |
---|---|---|
Add | Overloaded. Adds the specified color to the palette. | |
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. | |
GetColorPalette | Returns one of the predefined color palettes. | |
IndexOf | Searches for the specified color in the palette and returns a zero-based index of the found entry. | |
Set | Overloaded. Assigns the color to the palette entry with the specified index. |