Class LinkEditorBase
- Namespace
- Dynamicweb.Content.Items.Editors
- Assembly
- Dynamicweb.dll
Represents a link editor.
[AddInUseParameterOrdering(true)]
public abstract class LinkEditorBase : Editor
- Inheritance
-
LinkEditorBase
- Inherited Members
Constructors
LinkEditorBase()
Initializes a new instance of an object.
public LinkEditorBase()
Fields
_enableFileSelection
protected bool _enableFileSelection
Field Value
_enablePageSelection
protected bool _enablePageSelection
Field Value
_enableParagraphSelection
protected bool _enableParagraphSelection
Field Value
Properties
DataType
Gets the data type for this editor.
public override Type DataType { get; }
Property Value
EnableFileSelection
Gets or sets value indicating whether to enable file selection.
public bool EnableFileSelection { get; set; }
Property Value
EnablePageSelection
Gets or sets value indicating whether to enable page selection.
[AddInLabel("Enable page selection")]
[AddInParameterOrder(10)]
[AddInParameter("EnablePageSelection")]
[AddInParameterEditor(typeof(YesNoParameterEditor), "inputClass=std editor-parameter")]
public bool EnablePageSelection { get; set; }
Property Value
EnableParagraphSelection
Gets or sets value indicating whether to enable paragraph selection.
[AddInLabel("Enable paragraph selection")]
[AddInParameterOrder(20)]
[AddInParameter("EnableParagraphSelection")]
[AddInParameterEditor(typeof(YesNoParameterEditor), "inputClass=std editor-parameter")]
public bool EnableParagraphSelection { get; set; }
Property Value
ItemsOnly
Gets or sets value indicating whether only item-based pages/paragraphs can be selected.
public bool ItemsOnly { get; set; }
Property Value
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 on forntend.
[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 on frontend.
[Obsolete("Do not use")]
public override object EndEditFrontend()
Returns
- object
- The edited value.
RenderItemListValue(string)
Render of the Item List value.
[Obsolete("Do not use")]
public override Editor.RenderedItemListResult RenderItemListValue(string value)
Parameters
value
string- Value
Returns
- Editor.RenderedItemListResult
- Rendered Value