Questions tagged [itemcollection]

18 questions
0
votes
2 answers

How to split an ItemCollection into 2 at a specified index?

This seems like a very basic thing to do, but I can't find any methods to do this. I've checked Intellisense and searched Google with no luck. I have an ItemCollection with ~30 items in it. I'm trying to get the first 14 items to remain in the…
Danny Beckett
  • 20,529
  • 24
  • 107
  • 134
0
votes
1 answer

Find an existing item in an item collection

below is my code. I am trying to find a specific item after an item or before an item is added. We have two paticular product codes that can't be in the same item colleciton. One is like "%CNBG%" the other is Like "%CN-%" These two products codes…
-1
votes
1 answer

WPF Custom control with ContextMenu ItemCollection

I'm trying to create something like expandable button - button with context menu above, which will open by left mouse button click. Only thing I still can't finishing up is items property, which could be setting up in WPF XAML designer like for…
Vlad i Slav
  • 59
  • 2
  • 12
1
2