Table of Contents

Class FolderEditor

Namespace
Dynamicweb.Content.Items.Editors
Assembly
Dynamicweb.dll
Represents a file editor.
[Editor("Folder")]
public class FolderEditor : Editor
Inheritance
FolderEditor
Inherited Members

Properties

DataType

Gets the data type for this editor.
public override Type DataType { get; }

Property Value

Type

SearchPattern

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

Property Value

string

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.

BeginEditFrontend(EditorContext)

Enables the editor to populate its UI to the client and initiate the editing process (for frontend).
[Obsolete("Do not use")]
public override void BeginEditFrontend(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.

EndEditFrontend()

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

Returns

object
The edited value.

GetViewModelValue(object)

Gets the value as a collection of FileViewModel
public override object GetViewModelValue(object value)

Parameters

value object

Returns

object

RenderValue(EditorRenderingContext)

Renders the folder editor's value.
public override void RenderValue(EditorRenderingContext context)

Parameters

context EditorRenderingContext
An editor rendering context.
To top