Table of Contents

Class WidgetZone

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

Widget zone razor component.

public class WidgetZone : ComponentBase
Inheritance
object
ComponentBase
WidgetZone
Extension Methods

Constructors

WidgetZone()

public WidgetZone()

Properties

AllowedWidgets

Identifiers of allowed widgets in the zone. 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>

ZoneName

Widget zone name.

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

Property Value

string

Methods

BuildRenderTree(RenderTreeBuilder)

protected override void BuildRenderTree(RenderTreeBuilder __builder)

Parameters

__builder RenderTreeBuilder

OnInitializedAsync()

protected override Task OnInitializedAsync()

Returns

Task