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

NullReferenceException when setting DisplayMode to ImageWithText or Image

Thread ID:





149602 Dec 2,2019 09:54 PM UTC Dec 3,2019 11:34 AM UTC Xamarin.Forms 1
Tags: SfTabView
Cesar Martinez
Asked On December 2, 2019 09:54 PM UTC


When I set DisplayMode="ImageWithText" I get a NullReferenceException if I use

<tab:SfTabItem Title="Title">
      <FontImageSource ... />

It works fine when I try
<tab:SfTabItem Title="Title" ImageSource="icon.png">


<tab:SfTabItem Title="Title">
    <FileImageSource File="icon.png" />

Hemalatha Marikumar [Syncfusion]
Replied On December 3, 2019 11:34 AM UTC

Hi Cesar Martinez, 
Greetings from Syncfusion. 
We have validated your query, currently we don't have support for “Providing the FontImageSource as ImageSource in tab header. We would like to let you know that we have logged a feature request on this, and it can be tracked through our feedback portal below.   
This feature will be available in our Volume 1, 2020 release which is expected to be rolled out on March 2020. We appreciate your patience until then.      
You can also customize the tab header with “ttf” files, to know more about this please refer the link below. 
We have prepared a sample based on this, get it from the below link. 
Hemalatha M. 


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

Live Chat Icon For mobile
Live Chat Icon