Class ColorPickerConfiguration.ColorPickerItem
Represents a single color item in the color picker.
Inheritance
object
Namespace: Umbraco.Cms.Core.PropertyEditors
Assembly: Umbraco.Core.dll
Syntax
public class ColorPickerConfiguration.ColorPickerItem
Constructors
View SourceColorPickerItem()
Declaration
public ColorPickerItem()
Properties
View SourceLabel
Gets or sets the display label for the color.
Declaration
public required string Label { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Value
Gets or sets the color value (typically a hex color code).
Declaration
public required string Value { get; set; }
Property Value
| Type | Description |
|---|---|
| string |