Share via


CreateItems Method (Common)

Creates items in an items collection from the specified dataSource parameter.

protected virtual void CreateItems(
   System.Collections.IEnumerable dataSource
)

Parameters

  • dataSource
    The source from which items in the collection are created.

Remarks

Inheriting classes can override this method for custom data-binding behavior.

See Also

Creating Extended Controls

Applies to: List Class | ObjectList Class | SelectionList Class