This project is read-only.

List box Item contains List box

Jul 28, 2009 at 8:29 PM

I have a list box item(month) that contains a list box(days of month) that I need to return as a list box.  The "Days of month" list box contains an array of list box items (days) that I want to be able to select and click on.  Is there any way to do this.  Currently I seem to be able to only return this as an automation element.

Jul 31, 2009 at 11:36 AM

have a look at WPF Items section here UI Items

Aug 11, 2009 at 10:58 AM
Edited Aug 11, 2009 at 11:03 AM

I don't think this answers the question - a WPF ListItem can contain other controls, but there is no Get<>() method on WPFListItem, so it's not entirely obvious how they can be found. I'm having the same issue.

Update - I scrolled down and found the new bit that does answer the question! Thanks :)