Top "Itemscontrol" questions

Represents a control that can be used to present a collection of items.

How to get a List<string> collection of values from app.config in WPF?

The following example fills the ItemsControl with a List of BackupDirectories which I get from code. How can I change …

c# wpf itemscontrol app-config
WPF: ItemsControl with scrollbar (ScrollViewer)

I followed this small "tutorial" on how to add a scrollbar to an ItemsControl, and it works in Designer view, …

wpf wpf-controls itemscontrol scrollviewer
How to programmatically select an item in a WPF TreeView?

How is it possible to programmatically select an item in a WPF TreeView? The ItemsControl model seems to prevent it.

c# .net wpf treeview itemscontrol
Virtualizing an ItemsControl?

I have an ItemsControl containing a list of data that I would like to virtualize, however VirtualizingStackPanel.IsVirtualizing="True" does …

wpf virtualization itemscontrol virtualizingstackpanel
ItemsControl ItemTemplate Binding

In WPF4.0, I have a class that contains other class types as properties (combining multiple data types for display). Something …

wpf binding .net-4.0 itemscontrol itemtemplate
Finding control within WPF itemscontrol

Hi i have few a single textbox within the the datatemplate for itemscontrol. When i bind the itemcontrols to a …

wpf itemscontrol findcontrol
Specify ControlTemplate for ItemsControl.ItemContainerStyle

The following is similar to what I'm trying to accomplish. However, I get the error Invalid PropertyDescriptor value. on the …

wpf itemscontrol controltemplate itemcontainerstyle
How to get the index of the current ItemsControl item?

Is there any way to get the index of the current ItemsControl item in WPF? For example, I want to …

c# wpf data-binding itemscontrol
WrapPanel as ItemPanel for ItemsControl

Still fooling around with WPF and learning as I go. Trying now to build a dynamic grouping of controls (mostly …

wpf styles itemscontrol itemspanel itemspresenter
How to dynamically add RowDefinition or ColumnDefinition to a Grid with binding?

I'm trying to create a table with a variable number of rows and columns. I'm doing this with an ItemsControl …

wpf templates grid itemscontrol