Table of Contents

Class StringEditor

Namespace
Dynamicweb.Content.Items.Editors
Assembly
Dynamicweb.dll
Represents an editor that allows editing of strings.
public abstract class StringEditor : Editor
Inheritance
StringEditor
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

Methods

BeginEdit(EditorContext)

Enables the editor to populate its UI to the client and initiate the editing process.
[Obsolete("Do not use")]
public override void BeginEdit(EditorContext context)

Parameters

context EditorContext
Editor context.

EndEdit()

Returns the edited value.
[Obsolete("Do not use")]
public override object EndEdit()

Returns

object
The edited value.
To top