Listbox SelectionMode property

Class library usage, coding and language questions.
t4k9
Posts: 10
Joined: Wed Mar 07, 2012 11:00 pm

Listbox SelectionMode property

Post by t4k9 » Thu Mar 08, 2012 4:09 pm

How would Ranorex retrieve the SelectionMode property of a wpf listbox? Basically, I want to know whether a listbox enables multi-select or not. Thanks in advance.

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Listbox SelectionMode property

Post by Support Team » Fri Mar 09, 2012 10:50 am

Hi,
t4k9 wrote:How would Ranorex retrieve the SelectionMode property of a wpf listbox? Basically, I want to know whether a listbox enables multi-select or not. Thanks in advance.
Ranorex uses the UIAutomation Framework and such a property isn't provided by this framework. You have to ask your developers if the provide you a public custom property to access it or you write it to the HelpText of the element.

Regards,
Peter
Ranorex Team
.
Image

t4k9
Posts: 10
Joined: Wed Mar 07, 2012 11:00 pm

Re: Listbox SelectionMode property

Post by t4k9 » Fri Mar 09, 2012 2:16 pm

Thanks for your timely reply. TK