TabBarCornerRadius doesn't work with ResourcesDictionary

Hi,

    <Style TargetType="SfTabView:SfTabView">
        <Setter Property="FontAutoScalingEnabled" Value="True" />
        <Setter Property="EnableLiquidGlassEffect" Value="True" />
        <Setter Property="HeaderDisplayMode" Value="Default" />
        <Setter Property="IndicatorBackground" Value="{DynamicResource PrimaryColor}" />
        <Setter Property="IndicatorCornerRadius" Value="5" />
        <Setter Property="IndicatorPlacement" Value="Fill" />
        <Setter Property="TabBarBackground" Value="{DynamicResource DarkPrimaryColor}" />
        <Setter Property="TabBarCornerRadius" Value="24" />
        <Setter Property="TabBarHeight" Value="78" />
        <Setter Property="TabBarPlacement" Value="Bottom" />
    </Style>

is not setting TabBarCornerRadius, using directly in control it works as expected.





9 Replies

KR Karthika Ravichandran Syncfusion Team March 4, 2026 01:49 PM UTC

Hi Diego Velazquez,

Thank you for reporting this issue regarding the TabbarCorenerRadius property not working when defined within a ResourceDictionary.

We have successfully replicated this behavior on our end. Our development team is currently analyzing the root cause to determine why the property is not being applied correctly through styles, even though it works when set directly on the control.

We will share the complete findings and next steps with you by March 6, 2026. 

Thank you for your patience and cooperation as we work to resolve this.

Regards, 
Karthika R



KR Karthika Ravichandran Syncfusion Team March 6, 2026 02:07 PM UTC

Hi Diego Velazquez,

Thank you very much for your patience and cooperation while we reviewed this issue.

We have now logged a bug report for the reported behavior, and you can track its progress using the link below:

TabBarCornerRadius is not applied when set via ResourceDictionary style in .NET MAUI | Feedback Portal

A fix for this issue is planned for the 24 March 2026 weekly release, and we will be sure to notify you as soon as the update is included.

If there is anything else we can assist you with, please feel free to let us know. We’re always happy to help.

Regards,

Karthika R



DV Diego Velazquez March 21, 2026 01:31 PM UTC

Hi, in version 33.1, you changed TabBarHeight to TabBarSize. His new property also is not working from ResourceDictionary.


Regards,

Diego



KR Karthika Ravichandran Syncfusion Team March 23, 2026 02:52 PM UTC

Hi Diego Velazquez,

Thank you for reporting this.

We were able to reproduce this behavior on our end as well. You can continue to track this through the same bug report that was previously shared for the TabBarCornerRadius issue using the link below:

TabBarCornerRadius doesn't work with ResourcesDictionary | Syncfusion Forum Assist

A fix for this issue is planned for the 1 April 2026 weekly release, and we will be sure to notify you as soon as the update is included.

If there is anything else we can assist you with, please feel free to let us know. We’re always happy to help.

Regards,

Karthika R



KR Karthika Ravichandran Syncfusion Team March 24, 2026 10:28 AM UTC

Hi Diego,

We are pleased to inform you that the TabCornerRadius issue has been fixed.The fix is available in the latest NuGet package: Syncfusion.Maui.TabView - version 33.1.45.

You can access it here: NuGet Gallery | Syncfusion.Maui.TabView 33.1.45

Root Cause :

When TabBarCornerRadius is applied via ResourceDictionary styles, the tabHeaderParentBorder (tab header border container) is not yet initialized (null) at the time the property-changed callback runs. Because the container is null, the code path that sets the StrokeShape and CornerRadius cannot execute, so the style update is silently dropped.

 

Resolution :

The TabBar corner radius application logic was updated to ensure it executes only after the tab header parent border is fully initialized.

 

We recommend updating your project to this version to benefit from the resolution.

Thank you for your continued support and patience while we worked on this update. If you need any further assistance, please feel free to reach out to us at any time.

Regards,

Karthika R




DV Diego Velazquez March 24, 2026 11:57 AM UTC

Hi, 

I confirm  TabBarCornerRadius  was fixed. But  TabBarSize is still not working.


Regards,


Diego



KR Karthika Ravichandran Syncfusion Team March 25, 2026 11:28 AM UTC

Hi Diego Velazquez,

Thank you for confirming the fix for TabBarCornerRadius and for checking TabBarSize as well.

As previously shared, this issue has already been validated and logged. The fix is planned for an upcoming weekly release, and we will surely notify you on March 31 once the fix becomes available in the NuGet package.

Thanks again for your verification and continued cooperation. Please feel free to reach out if you need any additional assistance in the meantime.

Regards,
Karthika R



DV Diego Velazquez March 27, 2026 12:14 PM UTC

Hi,

I found the same problem with SfDatePicker.


<Style TargetType="SfPicker:SfDatePicker">
    <Setter Property="Background" Value="{AppThemeBinding Light=White, Dark=Black}" />
    <Setter Property="SelectionView">
        <SfPicker:PickerSelectionView
            Padding="10,5,10,5"
            Background="#808080"
            CornerRadius="8"
            Stroke="#36454F" />
    </Setter>
    <Setter Property="Format" Value="dd_MM_yyyy" />
    <Setter Property="HeaderView">
        <SfPicker:PickerHeaderView Background="{AppThemeBinding Light=White, Dark=Black}" />
    </Setter>
    <Setter Property="ColumnHeaderView">
        <SfPicker:DatePickerColumnHeaderView
            Background="{AppThemeBinding Light=White,
                                         Dark=Black}"
            DayHeaderText="Dia"
            MonthHeaderText="Mes"
            YearHeaderText="Ano" />
    </Setter>
</Style>

Is not working as expected.

Regards,


Diego



KJ Kishore Jeyachandran Syncfusion Team March 31, 2026 12:47 PM UTC

Hi Diego,

 

We are pleased to inform you that the TabBarSize issue has been fixed. The fix is available in the latest NuGet package: Syncfusion.Maui.TabView - version 33.1.46.

You can access it here: NuGet Gallery | Syncfusion.Maui.TabView 33.1.46

 

Root Cause :

When TabBarSize is applied via ResourceDictionary styles, the tabHeaderContainer is not yet initialized at the time the property-changed callback executes. Since the container is null, the height update logic is skipped, and the styled value is never applied.

 

Resolution :

The TabBarSize application logic was updated to ensure it executes only after the tab header parent border is fully initialized.

 

We recommend updating your project to this version to benefit from the resolution.

 

For SfDatePicker :

 

For better follow-up regarding the new SfDatePicker styles issue, we have branched your query into a separate forum. You can use the link below for further updates and responses.
https://www.syncfusion.com/forums/198248/cornerradius-doesnt-work-with-resourcedictionary-in-maui-sfdatepicker-split-from-f198159

 

Thank you for your continued support and patience while we worked on this update. If you need any further assistance, please feel free to reach out to us at any time.

 

Regards,

Kishore J


Loader.
Up arrow icon