[Ironruby-core] Data Binding to IronRuby Objects in WPF

Ryan Riley ryan.riley at panesofglass.org
Sat Jul 18 18:30:44 EDT 2009


I believe this will work in WPF 4.0, but it doesn't work now.  WPF 4.0  
is supposed to support dynamic objects. I seem to recall Jimmy or  
Harry (DevHawk) noting this somewhere.

Sent from my iPhone

On Jul 18, 2009, at 11:12 AM, Shay Friedman <lists at ruby-forum.com>  
wrote:

> Hi there,
>
> I'm trying to databind IronRuby objects to a WPF listbox with no  
> success
>
> My data is a Ruby array of objects. The array seems to be bound fine  
> as
> I see the expected number of rows in the listbox. However, every  
> object
> within the array fails to bind correctly. I tried the object to be a
> Ruby hash or a custom class without success… WPF wouldn't display t 
> he
> correct value.
>
> When I tried to create an array of CLR classes, it worked.
>
> Will it work in the  future?
>
> Thanks,
> Shay.
>
> ----------------------------
> Shay Friedman
> http://www.IronShay.com
> Follow me: http://twitter.com/ironshay
> -- 
> Posted via http://www.ruby-forum.com/.
> _______________________________________________
> Ironruby-core mailing list
> Ironruby-core at rubyforge.org
> http://rubyforge.org/mailman/listinfo/ironruby-core


More information about the Ironruby-core mailing list