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

Bindings not working on RibbonTab

Hello, I am experiencing Binding problems with Syncfusion RibbonTab in WPF. Bindings are simply ignored on some properties. I have 7 ribbon tabs with the same caption "Home". Each one should be visible if some conditions are met. Surprisingly the bindings don't work. I made a test with the Caption property and I have the same results. For IsEnabled property, bindings work. The same Visibility and Caption bindings put in other controls such as Grid, TextBlock work, but not for RibbonTab. Here is an example of Binding.

<syncfusion:RibbonTab Visibility="{Binding View.Sheet.Type, Converter={StaticResource SheetTypeToVisibilityConverter}, ConverterParameter=Input}"/>

By placing breakpoints in the converter code, I was able to notice that the bindings (Visibility and Caption) are NEVER analyzed. But when put on other controls they are analyzed. I got these problems on the versions 18 and 20. I haven't test on V19.

Thanks.


1 Reply

HN Harinath Navaneethakrishnan Syncfusion Team January 6, 2023 01:57 PM UTC

Hi Fifer,


We are unable to reproduce the issue from our end. Please refer to the sample for your reference.


Could you please share the below details?


  • C# and xaml Codesnippets that you have used for RibbonControls
  • If possible please share the demo.


Regards,

Harinath N


Attachment: Ribbon_(4)_e734b79b.zip

Loader.
Up arrow icon