Class KnownColorInfo
Represents information about a known color, including its category, label, localized label, and value.
public class KnownColorInfo : IKnownColorInfo
- Inheritance
-
KnownColorInfo
- Implements
Remarks
This class provides metadata and utility methods for working with known colors, such as their category and visibility. It is designed to encapsulate details about a specific KnownColor and expose them through properties and methods.
Constructors
- KnownColorInfo(KnownColor)
Initializes a new instance of the KnownColorInfo class with the specified known color.
Properties
- Category
Gets or sets color category.
- KnownColor
Gets KnownColor for which item is created.
- Label
Gets color label in English.
- LabelLocalized
Gets or sets localized version of the color label.
- Value
Gets color value.
- Visible
Gets or sets whether color is visible for the end user.
Methods
- CategoryIs(params KnownColorCategory[])
Gets whether Category is in the list of categories.