![]() |
Expression Blend 3 is not happy - Printable Version +- AB4D Forum (https://forum.ab4d.com) +-- Forum: Products Forums (https://forum.ab4d.com/forumdisplay.php?fid=4) +--- Forum: ViewerSvg and Ab2d.ReaderSvg (https://forum.ab4d.com/forumdisplay.php?fid=6) +--- Thread: Expression Blend 3 is not happy (/showthread.php?tid=35) |
Expression Blend 3 is not happy - ttiggemann - 04-09-2010 Expression blend 3 is not happy with xaml generated by the viewer The editor/canvas is not correct in blend The code looks fine in Silverlight (See images or attached) Please advise Thank you! [Image: http://www.thesquaredt.com/public/Expression3.png] [Image: http://www.thesquaredt.com/public/ViewerSvg.png] RE: Expression Blend 3 is not happy - ttiggemann - 04-11-2010 Just a follow-up: I wrote a simple conversion app to make the generated xaml attributes Expression Blend friendly After working with the objects exported to xml, I found myself not needing Blend Nicely done! (Hope to see your WPF only products made available to Silverlight...) RE: Expression Blend 3 is not happy - abenedik - 04-12-2010 ttiggemann, May I ask you what have you done to make the xaml Blend friendly. I would like to add this to the my reader products, so there would not be a need for custom convertion applications. RE: Expression Blend 3 is not happy - ttiggemann - 04-12-2010 As stated, not that robust - could probably be optimized a tad I've condensed it a bit for this post Code: using System.IO; RE: Expression Blend 3 is not happy - abenedik - 04-13-2010 ttiggemann, thank you for sharing this with us. I will add an option to ViewerSvg, Paste2Xaml and GetXaml method in reader libraries to provide xaml that will be valid in Expression Blend. RE: Expression Blend 3 is not happy - ttiggemann - 04-19-2010 Just FYI: VS2010 is not happy either: "Unknown element: Brush. [Line: 1 Position: 93] at MS.Internal.XcpImports.CreateFromXaml(String xamlString, Boolean createNamescope, Boolean requireDefaultNamespace, Boolean allowEventHandlers, Boolean expandTemplatesDuringParse) at Microsoft.Expression.Platform.Silverlight.TypeConverters.ConvertUsingXamlReaderConverter`1.ConvertFromStringInternal(String value, IFormatProvider provider) at Microsoft.Expression.Platform.Silverlight.TypeConverters.ConvertToFromStringConverter.ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, Object value) at System.ComponentModel.TypeConverter.ConvertFromInvariantString(String text) at Microsoft.Expression.DesignModel.InstanceBuilders.ClrObjectInstanceBuilder.InstantiateTargetType(IInstanceBuilderContext context, ViewNode viewNode)" Is there an ETA of when your changes will be available? Thank you! RE: Expression Blend 3 is not happy - abenedik - 04-19-2010 Hm, this looks very critical. I will try to prepare updates until the end of this week. RE: Expression Blend 3 is not happy - abenedik - 04-23-2010 I would like to inform you that I have just published an improved version of ReaderSvg that provides a workaround for the Blend and VS designer. See more here: http://blog.wpf-graphics.com/post/2010/04/23/Improved-design-time-support-for-Visual-Studio-2010-and-Blend.aspx Thank you for reporting the problem. RE: Expression Blend 3 is not happy - ttiggemann - 05-05-2010 Finally got the chance to try your updates in v2.2 Looks great, works great! "Add default namespaces" is certainly a timesaver A couple of items on my "wish list": The ability to name the top level node The ability to specify a background color (mouse events are ignored if no background) Thank you! |