Table of Contents

Class SectionDefinition

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

Definition of registered section for Form builder.

public sealed class SectionDefinition : ComponentDefinitionBase, IFormBuilderDefinition, IComponentDefinition
Inheritance
object
SectionDefinition
Implements
Inherited Members
Extension Methods

Properties

ControllerName

Name of the registered section controller - this property is based on SectionType. Name property without "Controller" suffix.

public string ControllerName { get; }

Property Value

string

DefaultPropertiesActionName

Name of the default properties action.

public string DefaultPropertiesActionName { get; }

Property Value

string

Description

Description of the registered section.

public string Description { get; }

Property Value

string

IconClass

Icon CSS class of the registered section.

public string IconClass { get; }

Property Value

string

IsCustom

Indicates if custom view path is used.

public bool IsCustom { get; }

Property Value

bool

PropertiesFormMarkupControllerName

Name of the properties form markup controller.

public string PropertiesFormMarkupControllerName { get; }

Property Value

string

PropertiesType

Type of the registered section properties model.

public Type PropertiesType { get; }

Property Value

Type

Remarks

The type needs to implement the IFormSectionProperties interface.

RouteName

Name of the route under which is the section available.

public string RouteName { get; }

Property Value

string

SectionType

Gets the type of the section.

public Type SectionType { get; }

Property Value

Type

ViewComponentType

Type of the registered view component.

public Type ViewComponentType { get; }

Property Value

Type

ViewPath

View path of the section component.

public string ViewPath { get; }

Property Value

string