[IronPython] WPF Question

Davy Mitchell daftspaniel at gmail.com
Fri May 2 21:49:01 CEST 2008


First - yay a new release well done ;-)

Now a WPF Question...

I am using a listbox and in VB.net used TheLisbox.SelectedItem.Content to
get the string selected.

Try this with IronPython (and after an impressively long traceback) the
error is 'AttributeError: 'str' object has no attribute 'Content''.

So IP has converted the 'Object' of SelectedItem straight to a string -
handy for me but shouldn't it be a ListBoxItem?

Thanks,
Davy

-- 
Davy Mitchell
Blog - http://www.latedecember.co.uk/sites/personal/davy/
Twitter - http://twitter.com/daftspaniel
Skype - daftspaniel http://needgod.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20080502/d0a281eb/attachment.html>


More information about the Ironpython-users mailing list