Feature Request: GetVisible elements

Aug 17, 2010 at 1:01 PM


in some lists white returns all elements are listes, visible or not

for example


TopLevelMenu for Menus

Items for ListBox


and so on


in many cases elements in these lists are dynamical hidden/unhidden by developer as needed in context.


In such cases I had to use a foreach loop on these lists and filter all visible elements and returns me only the visible elements




Aug 22, 2010 at 2:50 AM

How are you making the items invisible?

Aug 23, 2010 at 7:31 AM

Sorry :(


in our application for example,  the context menu will contain more elements as the user can see, they are marked as off-screen because they will be only visible in other context.

So the list of elements in MenuBar.TopLevelMenu is greater than the user can see.


If I want to test the context menu, I'm only interested in elements which are not marked as off-screen.


the Menu elements has all the flag Visible = false.


Or did you mean how the developer hide the menu entries?





Sep 2, 2010 at 9:24 AM

>> Or did you mean how the developer hide the menu entries?

Yes. then I can try the scenario myself.

Sep 2, 2010 at 10:50 AM


in our cases the developer use "collapsed"

Sep 11, 2010 at 11:34 AM
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.