Set SfTabItem.ImageSource in Style

Hi,

Is it possible in MAUI to set the SfTabItem.ImageSource in Styles.xaml with Key or without so it will be global set and i don't have to set it in the ContentPage file? How?


<SyncfusionTabView:SfTabItem x:Name="tabHome" Header="Home">

<SyncfusionTabView:SfTabItem.ImageSource>
<FontImageSource Glyph="{StaticResource HomeIcon}" FontFamily="FontSolid" Size="20" Color="Black" />
</SyncfusionTabView:SfTabItem.ImageSource>
</SyncfusionTabView:SfTabItem>



Thanks,

Jassim



1 Reply

VV Vijayakumar Viswanathan Syncfusion Team October 18, 2022 02:16 PM UTC

Hi Jassim,

 

Query: Is it possible in MAUI to set the SfTabItem.ImageSource (FontImageSource ) in Styles.xaml

 

Since Framework itself doesn't have this support, It is not possible in MAUI to set the SfTabItem.ImageSource (FontImageSource ) in Styles.XAML page.

 

Please let us know if you need any other details.

 

Regards,

Vijayakumar V


Loader.
Up arrow icon