Defines the fluent interface for configuring the ModelFieldDescriptor.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Type Parameters:
T
Syntax:
C#
public class CustomDataSourceModelFieldDescriptorBuilder<T> : DataSourceModelFieldDescriptorBuilderBase<T, CustomDataSourceModelFieldDescriptorBuilder<T>>
Inheritance: objectDataSourceModelFieldDescriptorBuilderBase<T, CustomDataSourceModelFieldDescriptorBuilder<T>>CustomDataSourceModelFieldDescriptorBuilder<T>
Inherited Members
Constructors
C#
public CustomDataSourceModelFieldDescriptorBuilder(ModelFieldDescriptor descriptor)
Methods
Specifies the field of the original record which value to be used for population of the Model field.
C#
public virtual CustomDataSourceModelFieldDescriptorBuilder<T> From(string fromField)
The field of the original record which value to be used
Returns:Specifies the handler which will parse the field value. If not set default parsers will be used.
C#
public virtual CustomDataSourceModelFieldDescriptorBuilder<T> Parse(string handler)
The handler
Returns: