Re: [Ironruby-core] ListViewItem DataTemplate

2009-11-27 Thread Ivan Porto Carrero
Yeah sorry for that.. I guess I'm not a morning person keep sending questions, helps me to understand the areas people have trouble with :) --- Met vriendelijke groeten - Best regards - Salutations Ivan Porto Carrero Blog: http://flanders.co.nz Google Wave: portocarrero.i...@googlewave.com Twitter

Re: [Ironruby-core] ListViewItem DataTemplate

2009-11-27 Thread Patrick Brown
Hi Thank you, this explanation is very helpful. I will start working on following the naming conventions, I have actually been purposefully avoiding them to this point as following the C# standards was helping me to map commonalities between the two languages and focus on learning the language

Re: [Ironruby-core] ListViewItem DataTemplate

2009-11-26 Thread Ivan Porto Carrero
There is no link between the DLR objects and CLR objects so if you derive from a control in ruby code there is no way for XAML to figure out what has been configured etc. There is also no class it can link to as the classes don't exist in the same way in a DLR based language as in a CLR language.

Re: [Ironruby-core] ListViewItem DataTemplate

2009-11-25 Thread Patrick Brown
Hi Ok, this confuses me a bit, I can get it to work by not deriving from ListView and setting all my settings in the initialize method and instead having a listview member and assigning all the values on it. Can anyone see a reason for this? def BuildListView() self.statusListView = ListVie

[Ironruby-core] ListViewItem DataTemplate

2009-11-25 Thread Patrick Brown
Hello Has anyone gotten a datatemplate for a ListView under WPF? I created a very simple C# sample and converted it to IronRuby, the C# works perfectly, the IronRuby example displays my class name, the datatemplate didn't load and bind up to the properties as I hoped. C# public class Stat