Table of Contents

Class StringEditor

Namespace
Dynamicweb.Content.Items.Editors
Assembly
Dynamicweb.dll

Represents an editor that allows editing of strings.

[AddInUseParameterOrdering(true)]
public abstract class StringEditor : Editor
Inheritance
StringEditor
Derived
Inherited Members

Constructors

StringEditor()

Initializes a new instance of an object.

public StringEditor()

Properties

DataType

Gets the data type for this editor.

public override Type DataType { get; }

Property Value

Type

MaxLength

Gets or sets the maximum allowed text length.

public int? MaxLength { get; set; }

Property Value

int?

Mode

Gets the editor mode.

public virtual TextEditorMode Mode { get; }

Property Value

TextEditorMode

ShowToggle

Gets or sets value indicating whether to show the field toggle

[AddInLabel("Show field toggle")]
[AddInParameter("ShowToggle")]
[AddInParameterEditor(typeof(YesNoParameterEditor), "inputClass=std editor-parameter")]
[AddInParameterOrder(101)]
public bool ShowToggle { get; set; }

Property Value

bool
To top