Get hold of ItemsControl

Apr 15, 2009 at 8:07 AM

Is there a way of getting hold of a ItemsControl in White? I need to verify the children count of the control in my test.

Best regards,
May 25, 2009 at 6:07 AM

you can use Items.Count.

Jul 30, 2009 at 7:42 AM
Edited Jul 30, 2009 at 1:21 PM

I am running into a similar problem and I am quite sure that the answer of viveksingh is not a solution. You still need to retrieve the control. Looking at the wpf application with uispy or uiexplorer, it does not show the itemscontrol. Does anybody have a solution for this problem?




[edit]I am not suggesting that White is responsible for this problem, it's more likely to be WPF behaviour[/edit]