Table of Contents

Class InlineEditor

Namespace
Kentico.VisualBuilderComponents.Rcl.Components
Assembly
Kentico.VisualBuilderComponents.Rcl.dll

Renders an in-line editor wrapper element.

public class InlineEditor : ComponentBase
Inheritance
object
ComponentBase
InlineEditor
Extension Methods

Constructors

InlineEditor()

public InlineEditor()

Properties

Attributes

Additional attributes to be added to the in-line editor wrapping element.

[Parameter(CaptureUnmatchedValues = true)]
public IDictionary<string, object> Attributes { get; set; }

Property Value

IDictionary<string, object>

ChildContent

Contains the fragment of markup between the child component's opening and closing tags.

[Parameter]
public RenderFragment ChildContent { get; set; }

Property Value

RenderFragment

InlineEditorName

The name of the in-line editor used for editing the widget property.

[Parameter]
[EditorRequired]
public string InlineEditorName { get; set; }

Property Value

string

Remarks

Corresponds to the name being passed to an in-line editor Javascript registration function

window.kentico.emailBuilder.registerInlineEditor('editorName', ...)

PropertyName

The name of the widget property managed by the in-line editor.

[Parameter]
[EditorRequired]
public string PropertyName { get; set; }

Property Value

string

WrappingTagName

Specifies the name the element the in-line editor will be wrapped in.

[Parameter]
public string WrappingTagName { get; set; }

Property Value

string

Remarks

Defaults to 'div'.

Methods

BuildRenderTree(RenderTreeBuilder)

protected override void BuildRenderTree(RenderTreeBuilder __builder)

Parameters

__builder RenderTreeBuilder