Table of Contents

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

Type

Presets

[AddInParameter("Presets")]
[AddInLabel("Presets")]
[AddInParameterEditor(typeof(TextParameterEditor), "inputClass=std editor-parameter")]
public string Presets { get; set; }

Property Value

string

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

Returns

object
To top