ComponentOne ASP.NET MVC Controls
NewItemCreator Method

C1.Web.Mvc.Fluent Namespace > BaseCollectionViewServiceBuilder<T,TControl,TBuilder> Class : NewItemCreator Method
The value.
Configurates C1.Web.Mvc.BaseCollectionViewService<T>.NewItemCreator. Sets a function that creates new items for the collection.
Syntax
'Declaration
 
Public Overridable Function NewItemCreator( _
   ByVal value As String _
) As TBuilder
public virtual TBuilder NewItemCreator( 
   string value
)

Parameters

value
The value.

Return Value

Current builder.
Remarks
If the creator function is not supplied, try to create an uninitialized item of the appropriate type.
See Also

Reference

BaseCollectionViewServiceBuilder<T,TControl,TBuilder> Class
BaseCollectionViewServiceBuilder<T,TControl,TBuilder> Members