Re: [IronPython] Are Converters (IValueConverter) supported in IronPython + Silverlight?

2010-01-21 Thread Edward J. Stembler
I'm using clrtype.py; trying to keep everything 100% IronPython. Here's the Converter code: import clr from System import Object, Type from System.Globalization import CultureInfo from System.Windows import Thickness from System.Windows.Data import IValueConverter from System.Windows.Media impor

Re: [IronPython] Are Converters (IValueConverter) supported in IronPython + Silverlight?

2010-01-20 Thread Jimmy Schementi
Are you using clrtype.py or a C# stub? If you're not using either of these, then you will get a AG_E_PARSER_BAD_TYPE when trying to tell XAML about your Python type, since the corresponding CLR type won't be found. If send your python and XAML code, then I can help you figure this out. ~Jimmy

Re: [IronPython] Are Converters (IValueConverter) supported in IronPython + Silverlight?

2010-01-20 Thread Edward J. Stembler
I installed the Developer runtime, which incidentally is LinkID=150227 for Mac. In any case, I got my Converter recognized as a .NET type; however I couldn't get passed the AG_E_PARSER_BAD_TYPE error when loading the converter reference in XAML. I initially thought there may be some namespace i

Re: [IronPython] Are Converters (IValueConverter) supported in IronPython + Silverlight?

2010-01-20 Thread Jimmy Schementi
> I took a simple converter and ported it to IronPython, however > I'm getting the ever helpful SystemError 2255. Do you have the Silverlight "Developer" runtime? The "Consumer" runtime give you only error codes, while the developer runtime gives you actual exception messages. Here's the devel

[IronPython] Are Converters (IValueConverter) supported in IronPython + Silverlight?

2010-01-18 Thread Edward J. Stembler
I'm trying to port an existing (and working) C# Silverlight 3 application to IronPython. Right now, I working on the merging of the resource dictionaries, and have gotten to the point where I merge the converters. I took a simple converter and ported it to IronPython, however I'm getting the