Print Page | Close Window

XAML icons

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=24315
Printed Date: 26 April 2024 at 7:04pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: XAML icons
Posted By: rdhd
Subject: XAML icons
Date Posted: 05 August 2022 at 9:03am
Hi,

I'm looking for a bit of information. It seems that if I get a XAML icon that is usable in WPF, it is not usable in our CodeJock MFC app.

Is there a difference between the two? We tried an Adobe tool and a couple free ones I found on line to create XAML icons but they wouldn't display. So, I grabbed one from the CJ source and used it with no problem. I seem to recall the two were just using different elements in the XAML code.



Replies:
Posted By: markr
Date Posted: 06 August 2022 at 6:48pm
Codejock's custom XAML rendering engine is solid (and useful), but far less feature-rich than WPF.

My advice is to test all icons in Codejock's MarkupPad utility before trying to use them, and be prepared to tweak the paths to get elements to align correctly, etc. Also some icons just won't work because they use incompatible features (path clipping, etc.).

Check out Axialis icons. Many of them work well with XTP with minimal tweaking.


Posted By: rdhd
Date Posted: 10 August 2022 at 11:03am
If CJ has gone rogue and just implemented their own XAML, does CJ have a tool that let's one create these images?


Posted By: dbrookes
Date Posted: 11 August 2022 at 5:14am
This plugin https://www.mikeswanson.com/xamlexport/" rel="nofollow - https://www.mikeswanson.com/xamlexport/ for Adobe Illustrator exporting to "XAML for Silverlight" (instead of "XAML for WPF") has provided good results for me when creating/editing icons.

Some XAML icon sets like the Visual Studio one tend not to work as they use elements like DrawingBrush, GeometryDrawing and PathGeometry that XTP XAML does not support.

XTP's XAML is enough to get by.

+1 for Axialis icon sets as well.



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