itemscontrol
How does VirtualizingStackPanel decide when to unload (dispose?) of virtualized controls?
I\'m working with an ItemsControl using a VirtualizingStackPanel in its ControlTemplate.I\'ve got the virtualization working, to some extent.I\'ve put debugging st开发者_Python百科atements in the Load[详细]
2023-02-06 11:59 分类:问答How to convert X/Y position to Canvas Left/Top properties when using ItemsControl
I am trying to use a Canvas to display objects that have \"world\" location (rather than \"screen\" location). The canvas is defined like this:[详细]
2023-02-04 08:02 分类:问答Can I add an adorner to a DataTemplate item, outside the data template?
Basically, I have a DataTemplate that defines the items in an ItemsControl and 开发者_如何转开发I want to pop a speech bubble above the item when it\'s clicked. So far, my attempts lead to my adorner[详细]
2023-02-02 22:37 分类:问答ItemContainerStyle overriding Generic style
I\'m referencing ExpressionDark.xaml from my App.xaml, which is working fine, however when I try to use an ItemContainerStyle in an ItemsControl, the items in the ItemsControl revert to the basic styl[详细]
2023-02-02 11:32 分类:问答WPF/Silverlight: How to bind ItemsControl based UI element to an ItemsControl property on the ViewModel?
Being a new to WPF/XAML/MVVM, I\'ve got a question. In my View, I have 2 listboxes, which derive from ItemsControl.[详细]
2023-01-31 17:24 分类:问答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 returns 0.[详细]
2023-01-30 08:32 分类:问答When would the ItemContainerGenerator.Status enumeration return GeneratorStatus.Error?
When would the ItemContainerGenerator.Status enumeration return GeneratorStatus.Error in WPF? Has anyone encountered such a situat开发者_Go百科ion? Just wondering, as I mainly work in Silverlight and[详细]
2023-01-30 02:42 分类:问答Problem in use of SortDescription in WPF - int and string are not IComparable?
I have a problem in using SortDescription. I\'ve found some thread about the problem, like if you want to sort by a type that doesn\'t implement IComparable, like a user defined class, but it\'s not m[详细]
2023-01-28 05:48 分类:问答WPF Custom Panel/Control Creation -- "The Doughnut"
I\'m hoping to create a custom panel or control that creates a very particular type of item. Basically, the intent is to have a control that you can give a list of objects to, and it will put each of[详细]
2023-01-27 07:57 分类:问答Elegant way of enabling specific Columns in a dynamic WPF UniformGrid to be resizable
like the title says: Is there an elegant way of enabling specific columns in a dynamic UniformGrid to be resizable?[详细]
2023-01-26 12:51 分类:问答