Print Page | Close Window

XAML LinearGradientControl parse error

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=24401
Printed Date: 05 July 2024 at 2:49pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: XAML LinearGradientControl parse error
Posted By: rdhd
Subject: XAML LinearGradientControl parse error
Date Posted: 05 June 2023 at 5:37pm
We are trying our best to find a way to generate XAML images for ribbon icons. We are currently trying Inkscape. The CJ CXTPMarkupBuilder is failing in CXTPMarkupDepencencyProperty::FindProperty as it cannot find a runtime class for the xaml "MappingMode" attribute of the LinearGradientBrush element.

<LinearGradientBrush xmlns:x=" http://schemas.microsoft.com/winfx/2006/xaml" rel="nofollow - http://schemas.microsoft.com/winfx/2006/xaml" x:Key="linearGradient15299" MappingMode="RelativeToBoundingBox" StartPoint="0,0" EndPoint="1,1">

So far, as I step thru the code everything is going fine until we get to a gradient like the one above.

What's the deal and what's the alternative?



Replies:
Posted By: lrenoux
Date Posted: 08 June 2023 at 3:09am
Oh yeah !

I'm looking for an XAML designer able to read Codejock samples but more to be able to write xaml file readable by Codejock ... since a lot of time. Blend for VC doesnt help like Inkscape too.

Would be nice !

L.


Posted By: rdhd
Date Posted: 08 June 2023 at 12:20pm
My first test is to double click the xaml file. I still have IE and it launches and usually lets me see the image.

I have had another conversation going on elsewhere over time. dbrookes has some excellent advice posted recently though it probably isn't what you want to hear. We have pulled the Adobe Illustrator plugin mentoned in that thread and had a bit more success. Although, I have to edit the ai xaml too due to the fact that CJ simply is failing to support much of Silverlight xaml. This failure is really disappointing since CJ is claiming to support xaml which led our company to believe it was xaml when it is really the very old Silverlight xaml and then not much of it either. We thought CodeJock was going to support SVG, which is what our company really wants but that never came about.

You can search the CJ code/platform for .xaml and open those files and see they are quite basic.

https://forum.codejock.com/topic24211_post78716.html#78716" rel="nofollow - https://forum.codejock.com/topic24211_post78716.html#78716


Posted By: agontarenko
Date Posted: 16 June 2023 at 7:03am
LinearGradientBrush MappingMode property has been added.

Regards,
Artem Gontarenko



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net