How to define a global style for SfTabView

I try to set the 'IndicatorBackground' of 'SfTabView' globally by adding the following style in my global resource dictionary:

...
     xmlns:syncfTabView="clr-namespace:Syncfusion.Maui.TabView;assembly=Syncfusion.Maui.TabView"
...​
    <Style TargetType="syncfTabView:SfTabView">
        <Setter Property="IndicatorBackground" Value="Green"/>
    </Style>

But this has now effect. The background indicator is still violet.
Do I something wrong?



2 Replies

BV Brundha Velusamy Syncfusion Team November 14, 2023 11:55 AM UTC

Hi Timo,

 

Thank you for reaching out to Syncfusion support.

 

We are able to reproduce the reported issue "Style is not applied in TabView if it is set in Styles.xaml". And we have fixed the reported issue. At present, a custom patch has been created for version 23.1.44. We have attached the NuGet file for your convenience.

 

Please note that we have created this patch for version 23.1.44 specifically to resolve the issue reported in this ticket. If you have received other patches for the same version for other products, please apply all patches in the order received.

 

Note: Please refer to the below link to apply the custom patch.

https://www.syncfusion.com/kb/6987/how-to-clear-nuget-cache

 

We will include the fix in our upcoming weekly release on November 28, 2023. We appreciate your patience until then.

 

Disclaimer: The inclusion of this solution in the weekly release may change due to other factors, including but not limited to QA checks and work reprioritization.

 

Regards,

Brundha V


Attachment: Syncfusion.Maui.TabView.23.1.44_8817b229.zip


BV Brundha Velusamy Syncfusion Team November 23, 2023 01:07 PM UTC

Hi Timo,


Thanks for your patience.


We have included the fix for the reported issue "Style is not applied in TabView if it is set in Styles.xaml" in our latest weekly NuGet release v23.2.5 which is available for download ( https://www.nuget.org/ ). We thank you for your support and appreciate your patience in waiting for this update. Please get in touch with us if you would require any further assistance.


Regards,

Brundha V


Loader.
Up arrow icon