itemscontrol
How to get Int32.MaxValue into a ItemsControl element
I am trying to put Int32.MaxValue into a ItemsControl using only XAML syntax using this markup: <Grid xmlns:sys=\"clr-namespace:System;assembly=mscorlib\">[详细]
2023-03-19 19:56 分类:问答2nd time binding to PointCollection not being rendered
I have an ItemsControl whose ItemsSource I assign (via code) an ObservableCollection (lets call it Items) of INotifyPropertyChanged objects (data model). This data model has a PointCollection property[详细]
2023-03-19 17:03 分类:问答Behaviour of ItemsControl
I have a screen with several UserControls, but only one of them remains active. The other UserControls aren\'t shown, but the user can switch the active flag of any of those who are not active. One of[详细]
2023-03-19 09:47 分类:问答WPF listview display converter
I have a collection of objects that derive from a Person class and I want to bind this collection to the ItemsSource of a ListView.[详细]
2023-03-18 16:45 分类:问答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>[详细]
2023-03-16 04:09 分类:问答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 answer worked great for the time being (code below) but now I am trying to implement[详细]
2023-03-15 18:32 分类:问答Validating data templates for items in an itemscontrol
I have an ItemsControl (let\'s say a ListBox) and I have a DataTemplate for the contents. When I press a button, I want all ListBoxItems to be validated. This works.[详细]
2023-03-15 18:15 分类:问答Excel like drag selection in Wpf itemscontrol
I am looking to make a selection rectangle in Wpf items control just as in MS Excel.I have looked at decorators and adoners but got little help.I need the thick border around the cells that 开发者_运维[详细]
2023-03-15 17:09 分类:问答How to draw items with rectangles and margin, in a vertically repeating ItemsControl?
I\'m trying to visualize a List<MyCustomClass>. Each item should be in a rectangle (with rounded corners, but that is another mattter), repeated vertically with a margin between the items.[详细]
2023-03-15 05:10 分类:问答Arranging ItemsControl items within a DataTemplate
For some reason, Items added witin a dataTemplate will not do what I tell them to do!! I am trying to put a number of images horizontally within a stackpanel, but no matter how I try, they only go ve[详细]
2023-03-13 23:31 分类:问答