Class ColorSwatchEditor
- Namespace
- Dynamicweb.Content.Items.Editors
- Assembly
- Dynamicweb.dll
Represents a Color swatch editor.
- Inheritance
-
Color
Swatch Editor
- Implements
- Inherited Members
Properties
DataType
Gets the data type for this editor.
Property Value
EditColorSwatch
Gets or sets the value which defines visibility of Edit color swatch button.
[AddInLabel("Edit color swatch")]
[AddInParameter("EditColorSwatch")]
[AddInParameterEditor(typeof(RadioParameterEditor), "inputClass=std editor-parameter")]
public virtual int EditColorSwatch { get; set; }
Property Value
Methods
GetViewModelValue(object?)
Gets the value to use when rendering items in view models - Get
Parameters
value
object
Returns
RenderValue(EditorRenderingContext)
Renders value.
Parameters
context
EditorRendering Context Editor rendering context.