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.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

SfTabItem Icon

Thread ID:

Created:

Updated:

Platform:

Replies:

124973 Jul 11,2016 09:59 PM Jul 12,2016 08:36 AM UWP 1
loading
Tags: SfTabControl
Tony
Asked On July 11, 2016 09:59 PM

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" >

Ashok Kumar Murugesan [Syncfusion]
Replied On July 12, 2016 08:36 AM

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


CONFIRMATION

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.

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

;