itemscontrol
Display items WPF
I need to display a cards game board. My BoardViewModelM exposes an IEnumerable where the CardViewModel has the information where the card should be drawn on the board.[详细]
2023-04-12 20:27 分类:问答Use different template for last item in a WPF itemscontrol
I\'m using a custom template in my itemscontrol to display the following result: item 1, item 2, item3,[详细]
2023-04-12 20:02 分类:问答Binding from items in ItemsControl to ItemControl's DataContext
I have a Co开发者_如何学JAVAmboBox with a custom ItemsTemplateSelector. The Items for the control are defined in xaml, like so:[详细]
2023-04-12 11:44 分类:问答ItemsControl (virtualize football drive information)
I’m trying to emulate an NFL drive chart to visualize some drive data from a game. An example of what I’m roughly trying to emulate can be seen here, courtesy of nfl.com. I’m trying to achieve the[详细]
2023-04-12 09:40 分类:问答ToggleButtons in ItemsControl bound to an ObservableCollection
First of all i want to excuse my English. What i want to achieve looks very simple but i\'m a bit lost in the implementation.[详细]
2023-04-10 20:34 分类:问答WPF Application slowing down on i5 Processor machine
One of the developed application in WPF is running very slow on i5 process Laptop. UI contains multiple user controls (200+) in nested Items control. Same application is running with good performance[详细]
2023-04-09 19:32 分类:问答ItemsControl ItemsSource lazy loading
Image you are creating a custom control behaving like ComboBox in WPF. As a source of items you provide IQueryable<T> (or any kind of IEnumerable collection),[详细]
2023-04-09 12:58 分类:问答Templating ItemControl items without using ItemsSource
I am trying to build a custom Silverlight ItemsControl. I want the users of this control to add items using XAML. The items will be other UI elements. I would like to add a margin around all added ite[详细]
2023-04-08 00:32 分类:问答Grid with named RowDefinition fails to populate as ItemsPanel in WPF4
I have a Grid defined in an ItemsControl ItemsPanelTemplate, and one of RowDefinitions has a x:Name defined (so I could animate the row size).[详细]
2023-04-06 21:07 分类:问答Is there a way to make LostFocus fire when the keyboard focus leaves a focus scope?
My application\'s building a UI dynamically in which each ItemsControl in the view is a focus scope.The items displayed by each ItemsControl are controls in its focus scope.The user can tab through al[详细]
2023-04-06 07:58 分类:问答