itemscontrol
WPF ItemsControl derived custom control help
I would like to write a ItemsControl derived custom control.This is partially from need and partially as a learning exercise - please don\'t suggest I Style, DataTemplate, ControlTemplate a ListBox e[详细]
2023-03-02 05:03 分类:问答How do I implement a ScrollViewer background grid efficiently?
I am currently developing an application that shows data items based on their timestamp on a timeline. The following screenshot gives you an idea:[详细]
2023-02-25 11:27 分类:问答How to tell whether item in itemscontrol datatemplate is current?
I have an ItemsControl that binds to ICollectionView. I need to tell from withing DataTemplate of an item, whether it is the current.[详细]
2023-02-24 18:50 分类:问答C# WPF Select UserControl on Canvas
I have a Canvas with custom UserControls in it. Now I want to be able to have them selectable since I want to have a properties box which shows information about that specific item. What would be nice[详细]
2023-02-22 11:08 分类:问答WPF virtualizing big items
I´m binding a pretty huge collection of items to an ItemsControl. The ItemTemplate of the ItemsControl is set to a custom usercontrol rendering the data.[详细]
2023-02-22 02:15 分类:问答WPF Bind Grid.Column Property
I need to set Grid.Column property of an item by a converter. this is my xaml : <ItemsControl.ItemTemplate>[详细]
2023-02-19 05:47 分类:问答ItemsControl-wrapping the contents inside the window
I am using an ItemsControl inside a window in WPF. The itemscontrol is bound with a collection and the collection is a group of view models(user controls). My problem - the view is going beyond the cu[详细]
2023-02-18 05:43 分类:问答How can I position ViewModels in an ItemsControl
My mainwindow ViewModel has an ObservableCollection of ViewModels, called ViewModels. The Mainwindow XAML has an ItemsControl with ItemsSource bound to ViewModels.[详细]
2023-02-15 20:42 分类:问答Separator in ItemsControl renders in different shades for each item
I have an ItemsControl presenting TextBlocks, with a Separator at the bottom of each item. My problem is that each Separat开发者_如何学Goor is rendered in a slightly different shade of gray - it look[详细]
2023-02-15 18:24 分类:问答XAML: UniformGrid where you can define cells as not unifrom in size?
As a part of an ItemsControl style I\'d like to have something that works similar ot Grid/UniformGrid as an ItemsPanel.[详细]
2023-02-15 08:36 分类:问答