Print Page | Close Window

Toolkit Pro / XAML Vector icons in CXTPTaskpanel?

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=24179
Printed Date: 26 April 2024 at 1:24am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Toolkit Pro / XAML Vector icons in CXTPTaskpanel?
Posted By: keinerhier
Subject: Toolkit Pro / XAML Vector icons in CXTPTaskpanel?
Date Posted: 23 July 2021 at 12:16pm
Hello,

is there any information about the usage of XAML vector icons in a CXTPTaskPanel?

I realized vector icons in my Toolbars and Menus (halfway by XTPImageManager()->SetIcon(L"RT_XAML", ... )), but found no way to implement them on the task panels. 

Any help is appreciated,
Thank you in advance,
K.





Replies:
Posted By: markr
Date Posted: 24 July 2021 at 4:19pm
You can allocate a new CXTPImageManager instance and assign it to CXTPTaskPanel via the SetImageManager method. Then just populate the CXTPImageManager instance with vector icons as you normally would.


Posted By: keinerhier
Date Posted: 27 July 2021 at 9:01am
Dear markr,

thank you very much. 
Anyway, the possibility to link the IconIndex of a CXTPTaskPanelGroupItem to a vector icon (xaml) seems missing. After SetIcon() the Item remains empty :-( 

Best regards,
K.



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