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

SfTabItem Icon

Thread ID:

Created:

Updated:

Platform:

Replies:

124973 Jul 12,2016 01:59 AM UTC Jul 12,2016 12:36 PM UTC UWP 1
loading
Tags: SfTabControl
Tony
Asked On July 12, 2016 01:59 AM UTC

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


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.

Please sign in to access our forum

or the page will be automatically redirected to 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

;