WPFwiki, wpf, wiki, .net 3.0, windows presentation foundation, FAQ, free resources, solution, development, microsoft Home of the world's largest WPF FAQ
Edit

Category

ItemsControl

Edit

Question

What is an ItemsControl?

Edit

Answer

An ItemsControl is a control which can be used to display a collection of objects.

Several more specialized classes exist that derive from ItemsControl. The following are some of the main specializations:

- ListBox
- ComboBox
- ListView

While ItemsControl does not expose any advanced features, it allows displaying and scrolling through the list of objects contained in the collection.

The Specific classes that inherit from ItemsControl are :
HeaderedItemsControl
- MenuItem
- ToolBar
- TreeViewItem
TreeView
MenuBase
- ContextMenu
- Menu
StatusBar

and
Selector : the Selector abstract class holds the all pratical IsSynchronizedWithCurrentItem property that makes the
CurrentItem of Collections follow the selected item and vice versa when set to True.
- ComboBox
- ListBox
- ListView
- TabControl
breeze air purifier

All content is Copyright ©2007 Xceed Software Inc. unless otherwise indicated. See the Terms of Service. Contributors must read and agree to the Contribution Policy. WPFwiki is brought to you by Xceed, makers of the powerful yet free Xceed DataGrid for WPF.