WPF Combo Box

Ranorex Spy, Recorder, and Studio.
atom
Posts: 357
Joined: Sun Dec 07, 2008 11:14 pm
Location: Dublin, Ireland

WPF Combo Box

Post by atom » Thu Nov 19, 2009 7:58 pm

Hiya

I have a problem seeing WPF combo box items
The item text property doesnt appear to be the name of the text the item is displaying, but rather the class name of the code behind it. See screenshot below:
wpf_combo.JPG
wpf_combo.JPG (95.31 KiB) Viewed 1412 times

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

Re: WPF Combo Box

Post by Support Team » Fri Nov 20, 2009 2:51 pm

Hmm, maybe someone forgot to override ToString() in the class in question.
Do those ListItems have children ? Please post a snapshot (rxsnp) of the combobox.

Michael
Ranorex Team
.
Image

atom
Posts: 357
Joined: Sun Dec 07, 2008 11:14 pm
Location: Dublin, Ireland

Re: WPF Combo Box

Post by atom » Fri Nov 20, 2009 5:00 pm

I think your correct...
The combo box is based on an object collection, with items in the combo box coming from a specific property of each object. No .ToString was implemented on the object
I will talk to our developers, and let you know

Thanks

prabhu_thi
Posts: 8
Joined: Wed Feb 02, 2011 4:28 am

Re: WPF Combo Box

Post by prabhu_thi » Wed Feb 02, 2011 5:23 am

Hi,

Wether the above mentiond is fixed..Becaus i am also facing problems in WPF Combo controls

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

Re: WPF Combo Box

Post by Support Team » Wed Feb 02, 2011 9:20 am

prabhu_thi wrote:Wether the above mentiond is fixed..Becaus i am also facing problems in WPF Combo controls
There is no fix, because this is not an issue Ranorex can do anything about. If you read the conversation in this thread, it was explained that this is most probably an issue of the control or the usage of it.

Regards,
Alex
Ranorex Team
.
Image