Class EditableAreaOptions
- Namespace
- Kentico.PageBuilder.Web.Mvc
- Assembly
- Kentico.Content.Web.Mvc.dll
Options configuring the page builder editable area.
public class EditableAreaOptions
- Inheritance
-
objectEditableAreaOptions
- Extension Methods
Properties
AllowWidgetOutputCache
A flag indicating whether the output of the individual widgets within the editable area can be cached. The default value is false
.
public bool AllowWidgetOutputCache { get; set; }
Property Value
- bool
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.
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.
public IEnumerable<string> AllowedWidgets { get; set; }
Property Value
- IEnumerable<string>
DefaultSectionIdentifier
Identifier of a section to be used as an initial one for the area.
public string DefaultSectionIdentifier { get; set; }
Property Value
- string
WidgetOutputCacheExpiresAfter
The length of time from the first request to cache the output of the individual widgets.
public TimeSpan? WidgetOutputCacheExpiresAfter { get; set; }
Property Value
- TimeSpan?
WidgetOutputCacheExpiresOn
An absolute expiration date for the cached output of the individual widgets.
public DateTimeOffset? WidgetOutputCacheExpiresOn { get; set; }
Property Value
- DateTimeOffset?
WidgetOutputCacheExpiresSliding
The time after which the cached output of the individual widgets should be evicted if it has not been accessed.
public TimeSpan? WidgetOutputCacheExpiresSliding { get; set; }
Property Value
- TimeSpan?