Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - XAML LinearGradientControl parse error
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

XAML LinearGradientControl parse error

 Post Reply Post Reply
Author
Message
rdhd View Drop Down
Senior Member
Senior Member
Avatar

Joined: 13 August 2007
Location: United States
Status: Offline
Points: 867
Post Options Post Options   Thanks (0) Thanks(0)   Quote rdhd Quote  Post ReplyReply Direct Link To This Post Topic: XAML LinearGradientControl parse error
    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?
Back to Top
lrenoux View Drop Down
Groupie
Groupie


Joined: 20 April 2009
Status: Offline
Points: 62
Post Options Post Options   Thanks (0) Thanks(0)   Quote lrenoux Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
rdhd View Drop Down
Senior Member
Senior Member
Avatar

Joined: 13 August 2007
Location: United States
Status: Offline
Points: 867
Post Options Post Options   Thanks (0) Thanks(0)   Quote rdhd Quote  Post ReplyReply Direct Link To This Post 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.

Back to Top
agontarenko View Drop Down
Admin Group
Admin Group


Joined: 25 March 2016
Status: Offline
Points: 260
Post Options Post Options   Thanks (0) Thanks(0)   Quote agontarenko Quote  Post ReplyReply Direct Link To This Post Posted: 16 June 2023 at 7:03am
LinearGradientBrush MappingMode property has been added.

Regards,
Artem Gontarenko
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.172 seconds.