Questions tagged [itemscontrol]

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

An ItemsControl is a type of WPF Control that can contain multiple items, such as strings, objects, or other elements.

1200 questions
0
votes
1 answer

WPF HierarchicalDataTemplate & ItemsControl

I have a list containing objects that follow this structure. This is not the real classes I am working with, but should explain the concept. CLASSES public class BaseType{} public class TypeA : BaseType{} public class TypeB: BaseType { public…
thmsn
  • 1,976
  • 1
  • 18
  • 25
0
votes
2 answers

ItemsControl Grid.Row Grid.Column Binding in Silverlight

I'm trying to fill a Grid using different X and Y values for Grid.Row and Grid.Column using an ItemsControl, I copied it from a WPF project of mine and can't get it to work in Silverlight (Windows Phone). Here is a simplified version of…
Jesse
  • 1,332
  • 2
  • 14
  • 25
0
votes
1 answer

Why is a Border needed around a TextBlock in an ItemsControl template to make the TextBlock wrap?

I found this question while trying to figure out how to make a TextBlock wrap, when that TextBlock is the template for each item in an ItemsControl. My original template:
Steve
  • 6,334
  • 4
  • 39
  • 67
0
votes
2 answers

howto: Column drag/Move functionality in itemscontrol similar to DataGrid in Silverlight

e have a requirement to show vertical profiles of Data related to an entity, the profiles can change dynamically, so basically its a dynamic column grid, just that its not a Grid control, instead i have acheived this using ItemsControl and…
Kans
  • 33
  • 6
0
votes
1 answer

Accesing controls generated in ItemsControl through DataTemplate

Below is the markup that generates a list of buttons.
TrustyCoder
  • 4,749
  • 10
  • 66
  • 119
0
votes
1 answer

Is this XAML