Table of Contents

Class WidgetMetadata

Namespace
Kentico.PageBuilder.Web.Mvc
Assembly
Kentico.Content.Web.Mvc.dll

Metadata of a widget definition.

public sealed class WidgetMetadata
Inheritance
object
WidgetMetadata
Extension Methods

Constructors

WidgetMetadata()

public WidgetMetadata()

Properties

DefaultPropertiesUrl

URL of the widget definition to retrieve the default properties.

public string DefaultPropertiesUrl { get; }

Property Value

string

Description

Description of the registered widget.

public string Description { get; }

Property Value

string

HasEditableProperties

Indicates whether the widget has at least one property which is editable in the properties dialog.

public bool HasEditableProperties { get; set; }

Property Value

bool

HasProperties

Indicates that registered widget has properties (properties editable via a dialog or an inline editor).

public bool HasProperties { get; }

Property Value

bool

IconClass

Icon CSS class of the registered widget.

public string IconClass { get; }

Property Value

string

MarkupUrl

URL of the widget definition to retrieve the markup.

public string MarkupUrl { get; }

Property Value

string

Name

Name of the registered widget.

public string Name { get; }

Property Value

string

PropertiesFormMarkupUrl

URL of the widget definition to retrieve the properties form markup.

public string PropertiesFormMarkupUrl { get; }

Property Value

string

TypeIdentifier

Type widget identifier.

public string TypeIdentifier { get; }

Property Value

string

UseAdminFormComponents

Indicates whether the widget properties form should be opened from the administration UI using admin form components or from the page builder using MVC form components.

public bool UseAdminFormComponents { get; set; }

Property Value

bool