Top "Itemscontrol" questions

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

How to use AlternationIndex in ItemsControls?

I have seen some articles that show how to use AlternationIndex with ListBoxes or ListViews, but I had spent a …

wpf mvvm styles itemscontrol
How to highlight selected item in ItemsControl?

I have the following XAML. How can i highlight the selected item in the ItemsControl ? I can override the selected …

wpf itemscontrol highlight
ItemsControl, ItemsPanel and ItemsPresenter (Silverlight, XAML)

I'm utterly confused by these 3 terms, when to use which? What's the relationship and they are children of which controls? …

silverlight xaml itemscontrol itemspanel itemspresenter
How to draw line of ten thousands of points with WPF within 0.5 second?

I am writing WPF code to show a real-time plot which is a connected line containing about 10,000 points. It takes …

c# wpf performance templates itemscontrol
WPF ItemsControl the current ListItem Index in the ItemsSource

Is it possible to know the current item's Index in a ItemsControl? EDIT This works! <Window.Resources> <…

wpf indexing itemscontrol
WPF - Bind to Item Index from within ItemTemplate of ItemsControl?

Is there a way to bind to the ItemIndex from within the ItemTemplate of an ItemsControl? For example: <ItemsControl …

wpf data-binding itemscontrol
Setting Canvas properties in an ItemsControl DataTemplate

I'm trying to databind to this ItemsControl: <ItemsControl ItemsSource="{Binding Path=Nodes, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"> <ItemsControl.…

c# wpf xaml canvas itemscontrol
WPF: Alternating colors on a ItemsControl?

How do I get alternating colors on a ItemsControl? I have AlternationCount set to 2, but the ItemsControl.AlternationIndex property always …

wpf styles itemscontrol
How can a separator be added between items in an ItemsControl

I'm needing to display a list of numbers from a collection in an Items Control. So the items are: "1", "2", "3". When …

c# wpf itemscontrol
How do I access the children of an ItemsControl?

If i have a component derived from ItemsControl, can I access a collection of it's children so that I can …

c# wpf itemscontrol