Class ListBox
A plain, always-visible, virtualizing, single-selectable list - the most direct realization of "an ItemsControl with click-to-select.".
public class ListBox : SelectingItemsControl, INotifyPropertyChanging, IBindingTarget, INotifyPropertyChanged, INotifyFocusChanged, IContainerLayout, IVirtualizingScrollInfo
- Inheritance
-
ListBox
- Implements
- Inherited Members
- Extension Methods
Remarks
Overrides no virtualization geometry - a plain vertical list of selectable items is exactly ItemsControl's own default single-column variable-height virtualization, inherited via SelectingItemsControl completely unchanged. Click-to-select is also inherited unchanged, via Tapped (see AttachContainer(ItemContainer, int)/ DetachContainer(ItemContainer)) - unlike Selector's popup items, this control's realized items live in the normal visual tree, so OnTap(object, GenericEventArgs<TouchInfo>)'s existing per-element dispatch reaches them directly.