Class EditableArea
- Namespace
- Kentico.VisualBuilderComponents.Rcl.Components
- Assembly
- Kentico.VisualBuilderComponents.Rcl.dll
Editable area component.
public class EditableArea : ComponentBase
- Inheritance
-
objectComponentBaseEditableArea
- Extension Methods
Constructors
EditableArea()
public EditableArea()
Properties
AllowedSections
Identifiers of allowed sections in the area. All sections are allowed by default. Use None or System.Linq.Enumerable.Empty<TResult>() if no sections are allowed; or All if all sections are allowed.
[Parameter]
public IEnumerable<string> AllowedSections { get; set; }
Property Value
- IEnumerable<string>
AllowedWidgets
Identifiers of allowed widgets in the area. All widgets are allowed by default. Use None or System.Linq.Enumerable.Empty<TResult>() if no widgets are allowed; or All if all widgets are allowed.
[Parameter]
public IEnumerable<string> AllowedWidgets { get; set; }
Property Value
- IEnumerable<string>
AreaIdentifier
Identifier of the area.
[Parameter]
[EditorRequired]
public string AreaIdentifier { get; set; }
Property Value
- string
DefaultSectionIdentifier
Identifier of a section to be used as the initial one for the area.
[Parameter]
public string DefaultSectionIdentifier { get; set; }
Property Value
- string
Methods
BuildRenderTree(RenderTreeBuilder)
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
__builder
RenderTreeBuilder
OnInitializedAsync()
protected override Task OnInitializedAsync()
Returns
- Task