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.

RETURNS

The current instance of the PropertyGridItemBuilder.

Editor(System.Action)

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

Parameters

configurator - System.Action<PropertyGridItemEditorBuilder>

RETURNS

The current instance of the PropertyGridItemBuilder.

Items(System.Action)

Additional configuration options for the properties of the model.

Parameters

configurator - System.Action<PropertyGridItemFactory>

The configurator for the items setting.

RETURNS

The current instance of the PropertyGridItemBuilder.

Description(System.String)

Sets the description for the property.

Parameters

value - System.String

The value for Description

RETURNS

Returns the current PropertyGridItemBuilder instance.

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

RETURNS

Returns the current PropertyGridItemBuilder instance.

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.

RETURNS

Returns the current PropertyGridItemBuilder instance.

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.

RETURNS

Returns the current PropertyGridItemBuilder instance.

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

RETURNS

Returns the current PropertyGridItemBuilder instance.

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.

RETURNS

Returns the current PropertyGridItemBuilder instance.

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.

RETURNS

Returns the current PropertyGridItemBuilder instance.

Field(System.String)

Maps the item configuration to the model property.

Parameters

value - System.String

The value for Field

RETURNS

Returns the current PropertyGridItemBuilder instance.

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

RETURNS

Returns the current PropertyGridItemBuilder instance.

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

RETURNS

Returns the current PropertyGridItemBuilder instance.

Template(System.String)

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

Parameters

value - System.String

The value for Template

RETURNS

Returns the current PropertyGridItemBuilder instance.

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

RETURNS

Returns the current PropertyGridItemBuilder instance.

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

RETURNS

Returns the current PropertyGridItemBuilder instance.

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

RETURNS

Returns the current PropertyGridItemBuilder instance.

Template(Kendo.Mvc.UI.Fluent.TemplateBuilder)

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

Parameters

template - TemplateBuilder<TModel>

A Template component that configures the template.

RETURNS

Returns the current PropertyGridItemBuilder instance.