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

PropertyGridItemBuilder

Methods

Field(System.Linq.Expressions.Expression)

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

Parameters

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

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

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 for 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 for Editable

EditableHandler(System.String)

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

handler - System.String

The name of the JavaScript function that will be evaluated.

EditableHandler(System.Func)

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

handler - System.Func<Object,Object>

The handler code wrapped in a text tag.

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 for Editor

EditorHandler(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

handler - System.String

The name of the JavaScript function that will be evaluated.

EditorHandler(System.Func)

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

handler - System.Func<Object,Object>

The handler code wrapped in a text tag.

Field(System.String)

Maps the item configuration to the model property.

Parameters

value - System.String

The value for 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 for 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 for Group

Template(System.String)

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

Parameters

value - System.String

The value for Template

TemplateId(System.String)

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

Parameters

templateId - System.String

The ID of the template element for Template

TemplateView(Microsoft.AspNetCore.Html.IHtmlContent)

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

Parameters

templateView - Microsoft.AspNetCore.Html.IHtmlContent

The view that contains the template for Template

TemplateHandler(System.String)

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

Parameters

templateHandler - System.String

The handler that returs the template for 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?