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