Class ColorEditor
- Namespace
- Dynamicweb.Content.Items.Editors
- Assembly
- Dynamicweb.dll
Represents a simple color picker.
[Editor("Color")]
public class ColorEditor : Editor
- Inheritance
-
ColorEditor
- Inherited Members
Properties
DataType
Gets the data type for this editor.
public override Type DataType { get; }
Property Value
Presets
[AddInParameter("Presets")]
[AddInLabel("Presets")]
[AddInParameterEditor(typeof(TextParameterEditor), "inputClass=std editor-parameter")]
public string Presets { get; set; }
Property Value
Methods
GetViewModelValue(object)
Gets the value to use when rendering items in view models - GetValue(string)
public override object GetViewModelValue(object value)
Parameters
value
object