XAML LinearGradientControl parse error |
Post Reply |
Author | |
rdhd
Senior Member Joined: 13 August 2007 Location: United States Status: Offline Points: 891 |
Post Options
Thanks(0)
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" 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?
|
|
lrenoux
Groupie Joined: 20 April 2009 Status: Offline Points: 62 |
Post Options
Thanks(0)
|
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.
|
|
rdhd
Senior Member Joined: 13 August 2007 Location: United States Status: Offline Points: 891 |
Post Options
Thanks(0)
|
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. |
|
agontarenko
Admin Group Joined: 25 March 2016 Status: Offline Points: 299 |
Post Options
Thanks(0)
|
LinearGradientBrush MappingMode property has been added. Regards, Artem Gontarenko
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |