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
SearchPattern
[AddInParameter("Search pattern")]
[AddInParameterEditor(typeof(TextParameterEditor), "inputClass=std editor-parameter")]
public string? SearchPattern { get; set; }
Property Value
Methods
GetViewModelValue(object?)
Gets the value as a collection of FileViewModel
public override object? GetViewModelValue(object? value)
Parameters
valueobject
Returns
RenderValue(EditorRenderingContext)
Renders the folder editor's value.
public override void RenderValue(EditorRenderingContext context)
Parameters
contextEditorRenderingContextAn editor rendering context.