question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Fluent.Button Header Binding not visible

See original GitHub issue

I have added a binding to the header property of a fluent.button, however when the application is running the value is not seen? I have used snoop and i can see that the binding is happy and with the correct value but it does not show?

the value 100 should be showing in the button header.

any ideas?

image

<Fluent:Button Command="{Binding ProgramSpeedCommand}" Header="{Binding ApplicationRobotControl.Robot.ProgramSpeed, FallbackValue=0}" Icon="pack://application:,,,/KUKA.RGI v3;component/Icons/hand.ico" LargeIcon="pack://application:,,,/KUKA.RGI v3;component/Icons/hand.ico"> <Fluent:Button.ToolTip> <Fluent:ScreenTip Title="Program Speed" Width="250" DisableReason="This control is disabled to show 'disable reason' section" HelpTopic="Help for Orange ScreenTip" Image="pack://application:,,,/KUKA.RGI v3;component/Images/hand.png" Text="This control is disabled and has fixed width 250px" /> </Fluent:Button.ToolTip> </Fluent:Button>

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
batzencommented, Jul 13, 2021

That’s quite strange. Most controls in Fluent.Ribbon use a TemplateBinding for the header, which does not seem to work when the bound value is not a string. It works again if using a Binding with a relative source…

0reactions
PJonHarcommented, Jul 15, 2021

Thanks. I ended up using a converter to return the ToString() of an object.

Read more comments on GitHub >

github_iconTop Results From Across the Web

WPF Ribbon Headers not showing
I meet a problem with Fluent Ribbon. I didn't change anything in XAML, but all Headers of my buttons disapeared. I don't know...
Read more >
Binding doesn't work between ToggleButton and Button #550
The Button 's IsEnabled property is bound to Toggle 's IsChecked property. The logic in my original program was the following: Show login...
Read more >
Data Binding not working correctly for "Fluent UI ...
I was trying to use "Fluent UI Web Components for Blazor library" ( Fluent UI Web Components for Blazor ...
Read more >
Fluent Black Bug ? in UI for WPF
Hi, I am using WPF , MEF, PRISM and Telerik Components RadGrid , RadDataFilter and RadDataPager with the StyleManager. The Problem i have...
Read more >
Fluent Ribbon Control Suite Walkthrough | PDF | License
<Fluent:RibbonTabItem Header="CT" Group="{Binding ElementName=toolsGroup}"/>. RibbonContextualTabGroup is not visible by default. To show or hide contextual ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found