Table of Contents

Class ParameterEditor

Namespace
Dynamicweb.Extensibility.Editors
Assembly
Dynamicweb.dll
A base class for parameter editors for configurable add-ins
public class ParameterEditor
Inheritance
ParameterEditor
Inherited Members

Examples

using System.Collections;
using System.Text;
using Dynamicweb.Core;
using Dynamicweb.Core.Encoders;
using Dynamicweb.Extensibility.AddIns;
using Dynamicweb.Extensibility.Editors;

namespace Dynamicweb.Examples.Extensibility
{
    ///<summary>
    /// Represents an email parameter editor
    ///</summary>
    public class EmailEditor: ParameterEditor 
    {
    }
}

Properties

Scripts

Get or set JS scripts for the editor.
[Obsolete("Do not use.")]
public string Scripts { get; set; }

Property Value

string

Methods

GetIdSuitableString(string)

Replace non-safe characters from input parameter to use it as id in html control for editor
[Obsolete("Do not use.")]
public string GetIdSuitableString(string inputString)

Parameters

inputString string

Returns

string
The Id suitable vakue

Render(ConfigurableAddIn, string, object, Hashtable)

Renders the editor.
[Obsolete("Do not use")]
public virtual string Render(ConfigurableAddIn addIn, string name, object value, Hashtable options)

Parameters

addIn ConfigurableAddIn
Referencing add-in.
name string
Editor name.
value object
Current editor value.
options Hashtable
Drop-down options.

Returns

string
Editor contents.

Render(ConfigurableAddIn, string, object, Hashtable, string)

Renders the editor.
[Obsolete("Do not use.")]
public virtual string Render(ConfigurableAddIn addIn, string name, object value, Hashtable options, string label)

Parameters

addIn ConfigurableAddIn
Referencing add-in.
name string
Editor name.
value object
Current editor value.
options Hashtable
Drop-down options.
label string
Editor label.

Returns

string
Editor contents.
To top