New to Telerik UI for ASP.NET MVC? Download free 30-day trial

PropertyGridItemBuilder

Methods

Editor(System.Action)

Maps to the model field which will be configured and sets the name of the input.

Parameters

configurator - System.Action<PropertyGridItemEditorBuilder>

Items(System.Action)

Additional configuration options for the properties of the model.

Parameters

configurator - System.Action<PropertyGridItemFactory>

The configurator for the items setting.

Description(System.String)

Sets the description for the property.

Parameters

value - System.String

The value that configures the description.

Editable(System.Boolean)

The JavaScript function that is executed when the value cell is about to be opened for editing. The returned result will determine whether an editor will be created.

Parameters

value - System.Boolean

The value that configures the editable.

Editor(System.String)

Provides a way to specify a custom editing UI for the value of the property. To create the editing UI, use the container parameter.When used as String, defines the editor component type. Set the options for the component via the items.editorOptions.For further info check the Form API: field

Parameters

value - System.String

The value that configures the editor.

Field(System.Linq.Expressions.Expression)

Maps the item configuration to the model property.

Parameters

expression - System.Linq.Expressions.Expression<Func>

The expression that specifies the field, based on the bound model.

Field(System.String)

Maps the item configuration to the model property.

Parameters

value - System.String

The value that configures the field.

Format(System.String)

The format that is applied to the value before it is displayed. Takes the {0:format} form where format is a standard number format, custom number format, standard date format or a custom date format.

Parameters

value - System.String

The value that configures the format.

Group(System.String)

Sets the name of the group to which the property will belong, if grouping is enabled. Only root level items can be grouped.

Parameters

value - System.String

The value that configures the group.

Template(System.String)

The template which is rendered for the property's value.

Parameters

value - System.String

The value that configures the template.

TemplateId(System.String)

The template which is rendered for the property's value.

Parameters

value - System.String

The value that configures the template.

TemplateView(System.Web.Mvc.MvcHtmlString)

The template which is rendered for the property's value.

Parameters

value - System.Web.Mvc.MvcHtmlString

The value that configures the template.

TemplateHandler(System.String)

The template which is rendered for the property's value.

Parameters

value - System.String

The value that configures the template.

Template(Kendo.Mvc.UI.TemplateBuilder)

The template which is rendered for the property's value.

Parameters

template - TemplateBuilder<TModel>

A Template component that configures the template.

In this article
Not finding the help you need?