Questions tagged [itemscollection]

7 questions
3
votes
1 answer

Where is TreeView.Nodes[int].Name in C#?

I'm working on a VB.NET to C# conversion and I'm currently stuck with a TreeView object. Dim Arguments1 As String = path & "\" & fs & " ls " & TreeView1.Nodes(ccc).Name So far, I can only get to this: string Arguments1 = path + "\\" + fs + " ls " +…
Cole Tobin
  • 9,206
  • 15
  • 49
  • 74
2
votes
2 answers

How do I explicity call ItemsCollection.Filter?

How do I explicityl call something like 'DoFilter' on System.Windows.Controls.ItemCollection? I set up it's Filter property to a Predicate. I placed a breakpoint in the predicate, it reaches there only when the ItemsCollection is initialized, when I…
Shimmy Weitzhandler
  • 101,809
  • 122
  • 424
  • 632
1
vote
1 answer

get ItemsControl in ItemCollection CollectionChanged event

my itemscontrol :