|  | 
| XAML icons | 
| Post Reply   | 
| Author | |
| rdhd   Senior Member     Joined: 13 August 2007 Location: United States Status: Offline Points: 951 |  Post Options  Thanks(0)  Quote  Reply  Topic: XAML icons 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. | |
|  | |
| markr   Senior Member   Joined: 01 August 2004 Status: Offline Points: 443 |  Post Options  Thanks(0)  Quote  Reply  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. | |
|  | |
| rdhd   Senior Member     Joined: 13 August 2007 Location: United States Status: Offline Points: 951 |  Post Options  Thanks(0)  Quote  Reply  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? | |
|  | |
| dbrookes   Groupie   Joined: 30 August 2019 Location: Australia Status: Offline Points: 74 |  Post Options  Thanks(0)  Quote  Reply  Posted: 11 August 2022 at 5:14am | 
| This plugin 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. | |
|  | |
| 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 |