[]
Struct ColorData
public struct Color : IEquatable<Color>
Public Structure Color
Implements IEquatable(Of Color)
Name | Description |
---|---|
Auto | Represents a color that is automated by the application. |
ColorIndexAutomatic | Represents the automatic color. |
ColorIndexNone | Represents no index color is set. |
ColorIndexTooltipColor | Represents the default tooltip's background indexed color. |
ColorIndexWindow | Represents the default window indexed color. |
ColorIndexWindowText | Represents the default window text indexed color. |
Empty | Represents a color that is |
ThemeColorsNone | Represents no theme color is set |
Window | Represents a color that is the color of window background. |
WindowText | Represents a color that is the color of window foreground. |
Name | Description |
---|---|
A | Gets the alpha component value of this Color structure. |
B | Gets the blue component value of this Color structure. |
G | Gets the green component value of this Color structure. |
R | Gets the red component value of this Color structure. |
Tint | Gets or sets the tint. |
Type | Gets the type of color. |
Name | Description |
---|---|
Clone() | Clones this instance. |
Equals(Color) | Indicates whether the current object is equal to another object of the same type. |
Equals(object) | Determines whether the specified Color is equal to this instance. |
FromArgb(int) | Creates a Color structure from the four 8-bit ARGB components (alpha, red, green, and blue) values. |
FromArgb(int, int, int) | Creates a Color structure from the four 8-bit ARGB components (alpha, red, green, and blue) values. Although this method allows a 32-bit value to be passed for each component, the value of each component is limited to 8 bits. |
FromArgb(int, int, int, int) | Creates a Color structure from the four 8-bit ARGB components (alpha, red, green, and blue) values. Although this method allows a 32-bit value to be passed for each component, the value of each component is limited to 8 bits. |
FromFormatColorEnum(FormatColorEnum) | Creates a Color structure from the specified format color enum. |
FromIndexedColor(int, double) | Creates a Color structure from the specified indexed color. |
FromKnownColor(KnownColor, double) | Creates a Color structure from the specified predefined color. |
FromThemeColor(ThemeColors, double) | Creates a Color structure from the specified predefined color. |
GetHashCode() | Returns a hash code for this instance. |
IsAutoColor() | Gets a value indicating whether this color represent an automatic color. |
IsEmpty() | Gets a value indicating whether this color represent an empty color. |
IsKnownColor() | Gets a value indicating whether this Color structure is a predefined color. Predefined colors are represented by the elements of the KnownColor enumeration. |
IsNoDefinedColor() | Gets a value indicating whether this color is not defined. |
ToArgb() | Gets the 32-bit ARGB value of this Color structure. |
ToGrayscale() | Get the corresponding grayscale color. |
ToIndexedColor() | Gets the indexed color value of this Color structure. |
ToKnownColor() | Gets the KnownColor value of this Color structure. |
ToString() | Returns the fully qualified type name of this instance. |
ToThemeColors() | Gets the ThemeColors value of this Color structure. |