We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Using xaml flat icon in tab item header like image

Thread ID:





125089 Jul 20,2016 03:57 PM UTC Jul 22,2016 04:23 AM UTC WPF 3
Tags: TabControlExt
Asked On July 20, 2016 03:57 PM UTC

I've a collection of flat icons builded with Metro Studio 5 in a resource dictionary, how you know they are not images but vector images defined into viewbox container
In the documentation I can see the image property for each tab item, but how I can use my flat icon xaml resource in the same way?

Durga Rajan [Syncfusion]
Replied On July 21, 2016 07:15 AM UTC

Hi Gianni,

We can set an Icon from XAML resource in TabItemExt header through Header Template. We have prepared a sample that tries to meet your requirement. In this sample, we have customized the header of each TabItemExt by its Header Template to bind the Icon in header of TabItemExt. You can download the sample for the same from following location.

Sample:  Tabcontrolext_Sample

Durga S.

Replied On July 21, 2016 09:59 AM UTC

Great! Thanks!

Durga Rajan [Syncfusion]
Replied On July 22, 2016 04:23 AM UTC

Hi Gianni,

We are glad that your issue has been solved. Please let us know if you need any other assistance.

Durga S.


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon