IItemsSource

Ecng.ComponentModel

Represents a strongly typed source of items.

Implementiert: IItemsSource

Eigenschaften

Values
public IEnumerable<IItemsSourceItem<TValue>> Values { get; }
value = iItemsSource.Values

Gets the collection of strongly typed items.

Methoden

CreateNewItem
public IItemsSourceItem<TValue> CreateNewItem(TValue value)
result = iItemsSource.CreateNewItem(value)

Creates a new strongly typed item using the specified value.

value
The value for creating the new item.

Rückgabe: The newly created strongly typed item.