# C1.Web.Mvc.BaseCollectionViewService-1.NewItemCreator

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Web_Mvc_BaseCollectionViewService_1_NewItemCreator_" data-uid="C1.Web.Mvc.BaseCollectionViewService`1.NewItemCreator*">NewItemCreator Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Web_Mvc_BaseCollectionViewService_1_NewItemCreator_" data-uid="C1.Web.Mvc.BaseCollectionViewService`1.NewItemCreator*"></a>
<h4 id="C1_Web_Mvc_BaseCollectionViewService_1_NewItemCreator" data-uid="C1.Web.Mvc.BaseCollectionViewService`1.NewItemCreator">NewItemCreator</h4>
<div class="markdown level1 summary"><p>Gets or sets a function that creates new items for the collection.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">[JsonConverter(typeof(FunctionConverter))]
public virtual string NewItemCreator { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">&lt;JsonConverter(GetType(FunctionConverter))&gt;
Public Overridable Property NewItemCreator As String</code></pre>
</div>
<h5 class="implements">Implements</h5>
    <div><a class="xref" href="C1.Web.Mvc.IItemsSource-1.NewItemCreator.html#C1_Web_Mvc_IItemsSource_1_NewItemCreator">IItemsSource&lt;T&gt;.NewItemCreator</a></div>
<h5 id="C1_Web_Mvc_BaseCollectionViewService_1_NewItemCreator_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>If the creator function is not supplied, try to create an uninitialized item of the appropriate type.</p>
</div>
</div>
