Top "Itemscontrol" questions

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

How do I get find my "CheckBox" item that is in the ItemTemplate?

I have the following (very simple) ItemsControl: <ItemsControl Name="BlahList" ItemsSource="{Binding Blah}"> <ItemsControl.ItemTemplate> <…

wpf itemscontrol
Can a WPF ListBox be "read only"?

We have a scenario where we want to display a list of items and indicate which is the "current" item (…

wpf listbox itemscontrol
Update ItemsControl when an item in an ObservableCollection is updated

The Problem: You declare an ItemsControl ( or a control derived from ItemsControl) in the view. You bind the ItemsControl.ItemsSource …

c# wpf mvvm observablecollection itemscontrol
ItemsControl missing vertical scrollbar

I have the below ItemsControl which wraps items perfectly but it does not have a vertical scrollbar to see the …

wpf xaml scroll itemscontrol
Stretching controls to fill ItemsControl

I am attempting to write a simple WPF learning project which creates a set of buttons inside a resizeable main …

.net wpf xaml itemscontrol
How can I get a WPF Window to expand to fit the contents of a dynamically changing ItemsControl?

I've got a WPF application which starts off with a very small window. Something in the area of 200x100. When …

wpf itemscontrol window-resize
Selecting DataTemplate based on sub-object type

I want to databind an ItemsCollection, but instead of rendering the collection items, I want to render sub-objects reached via …

wpf datatemplate itemscontrol
Style within DataTemplate is only being applied to the last item in ItemsControl?

In the XAML below, I have an ItemsControl that has three DataObjects. I use a DataTemplate to display DataObjects as …

wpf xaml styles datatemplate itemscontrol
How to put a border around an ItemsControl?

I have an itemscontrol with a custom panel inside a usercontrol. The usercontrols size is only constrained by the parent …

wpf xaml border itemscontrol
creating custom itemscontrol

I'm trying to create a custom control derived from ItemsControl. The ItemsControl is initialized with items, but they are not …

wpf custom-controls itemscontrol