#957 – A Survey of Some List-Based Controls
November 25, 2013 1 Comment
WPF includes a variety controls that can display lists of items, all of which inherit from ItemsControl. Below is a sampling of some of these controls.
ItemsControl is the base class for all of the list-based controls and provides basic support for storing a collection of items and displaying them in a simple list.
A HeaderedItemsControl displays a list of items along with some sort of header (typically displayed above the items).
A ToolBar contains a collection of items that a user can interact with.
Menu and MenuItem allow displaying a list of selectable items in a menu.
ComboBox allows selecting an item from a dropdown list.
ListBox allows selecting an item from a visible list.
A DataGrid displays a collection of items in a tabular format.
A TabControl groups user interface content into a set of selectable tabs.
A TreeView displays a collection of items as a hierarchy.
Pingback: #958 – Three Ways to Populate a List Control | 2,000 Things You Should Know About WPF