Skip to content

ItemsView<T> constructor

Initializes a new instance of the ItemsView class.

public ItemsView(IReadOnlyList<T> items, Func<T, string>? textSelector = null,
Func<T, object?>? keySelector = null)
parameter description
items Items collection.
textSelector Optional display text selector.
keySelector Optional stable key selector for selection preservation.