Top "Itemscontrol" questions

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

Execute command with parameter using xaml binding and viewmodel

Currently I have in xaml: <ItemsControl ItemsSource="{Binding Facilities, Mode=OneWay}"> <ItemsControl.ItemTemplate> <DataTemplate> &…

c# xaml binding itemscontrol commandparameter
ItemsControl Drag and Drop

I have an ItemsControl with a DataTemplate that is bound to an ObservableCollection of integers. <ItemsControl Name="DimsContainer" ItemTemplate="{…

c# wpf drag-and-drop itemscontrol
How-to define Empty DataTemplate for the ItemsControl based controls like ListView or DataGrid

ASP.NET controls like ListView allows providing a custom template by setting the ListView.EmptyDataTemplate property, this template will be …

.net wpf xaml datatemplate itemscontrol
Horizontal orientated WrapPanel within ItemsControl lists vertically

I have two DataTemplates defined within my XAML, each used for a seperate ItemsControl panel. The main ItemsControl lists Foo …

c# wpf .net-4.0 itemscontrol
Silverlight ItemsControl vertical scrollbar, using a wrappanel as ControlTemplate

I have a collection of elements, each one with a name and a subcollection of image blobs. I want to …

silverlight itemscontrol scrollviewer itemtemplate wrappanel
WPF Databound Bulleted List

How do I create a databound, bulleted list of hyperlinks in WPF? I've got this: <ItemsControl Name="lstScripts"> &…

wpf itemscontrol
Reorder ItemsControl with Drag and Drop using MVVM

I recently asked a question on how to reorder an ItemsControl using Drag and Drop (ItemsControl Drag and Drop). The …

c# wpf mvvm drag-and-drop itemscontrol
WPF UserControl in DataTemplate within ItemsControl - how to bind to parent of ItemsSource

The subject line says it all really! I have a user control which can be bound successfully to, say, a …

wpf data-binding user-controls binding itemscontrol
How to set ItemsPanelTemplate to a dynamically created Grid in code behind

I've got this UserControl defined in XAML and would like to set the ItemsPanelTemplate dynamically in my code behind class (…

c# wpf xaml itemscontrol itemspaneltemplate
When using ItemsControl ItemsControl.ItemsPanel is set to Canvas, ContenPresenter comes in and break my Canvas properties on the children [WPF]

I am using an ItemsControl where the ItemsPanel is set to Canvas (see this question for more background information). The …

wpf canvas itemscontrol