콘텐츠로 이동

ItemsView.Create method (1 of 2)

이 콘텐츠는 아직 번역되지 않았습니다.

Creates an items view for a list of strings.

public static ItemsView<string> Create(IReadOnlyList<string> items)
parameter description
items Items collection.

Creates an items view for a list of items.

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