Renders a color editor for this property.

[AttributeUsage]
public sealed class ColorEditorAttribute: IContentPropertyAttribute
Inheritance:
ObjectAttributeColorEditorAttribute
Implements:
IContentPropertyAttribute

Constructors

ColorEditorAttribute()

Properties

DisableAlpha If set to true, disables alpha channel selection by the user.
DisableManualEdit If set to true, disables direct manuel edit of color codes by the user, in which case a color can only be selected with the color palette.
Format Sets the color format to be used in the editor and for saving. Defaults to hex.

Methods

Apply(ContentPropertyDefinition)