Table of Contents

Class WidgetConfiguration

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

Represents the configuration of a widget within the Widgets list.

[DataContract(Namespace = "", Name = "Widget")]
public sealed class WidgetConfiguration
Inheritance
object
WidgetConfiguration
Extension Methods

Constructors

WidgetConfiguration()

Creates an instance of WidgetConfiguration class.

public WidgetConfiguration()

Properties

Identifier

Identifier of the widget instance.

[DataMember]
[JsonProperty("identifier")]
public Guid Identifier { get; set; }

Property Value

Guid

PersonalizationConditionTypeIdentifier

Personalization condition type identifier.

[DataMember]
[JsonProperty("conditionType", NullValueHandling = NullValueHandling.Ignore)]
public string PersonalizationConditionTypeIdentifier { get; set; }

Property Value

string

TypeIdentifier

Type widget identifier.

[DataMember]
[JsonProperty("type")]
public string TypeIdentifier { get; set; }

Property Value

string

Variants

List of widget variants.

[DataMember]
[JsonProperty("variants")]
public List<WidgetVariantConfiguration> Variants { get; set; }

Property Value

List<WidgetVariantConfiguration>