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. Image for the cookie policy date

SfTabItem Icon

Hi Guys,

Can you provide example of how to add an image to the Tab Header.  I tried this to no avail:

<syncfusion:SfTabItem Header="Engine" Icon="ms-appx:///Assets/Images/engine.png" >

1 Reply

AK Ashok Kumar Murugesan Syncfusion Team July 12, 2016 12:36 PM UTC

Hi Tony,

Thank you for contacting Syncfusion support.

We have prepared a sample to meet your requirement. In this sample, we have set ShowIcon property to true for SfTabControl and Icon for SfTabItems. Any object can be set as Icon for SfTabItem and it can be shown/hidden using ShowIcon property. You can download the sample from the following location:

Sample: TabControlIcon

Regards
Ashok Kumar M


Loader.
Live Chat Icon For mobile
Up arrow icon