Called when a new item is created in the collection by calling InsertNewItem method and the event handlers of the NewItem event haven't set up the new item themselves. Inheriters should return their own item type based on the parameters list provided.

Namespace:  DlhSoft.Windows.Data
Assembly:  DlhSoft.Data.Core (in DlhSoft.Data.Core.dll)

Syntax

C#
protected virtual Object CreateNewItem(
	params Object[] parameters
)
Visual Basic (Declaration)
Protected Overridable Function CreateNewItem ( _
	ParamArray parameters As Object() _
) As Object

Parameters

parameters
Type: array< System..::.Object >[]()[]
List of parameters passed from InsertNewItem method used for actually creating the new item. Inheriters can customize this list as their own item type requires.

Return Value

The newly created item.

See Also