You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At this very moment it seems that the header of a button (and togglebutton) only supports string-bindings, even if the header is of type object.
Is there a way we could use "TextTrimming" (which is normally a property of a TextBlock)?
We are binding a variable to the HeaderProperty and that could be in some cases very long. So we want to trim it and show the full text in the TooltipProperty.
It would be really cool if there were only some simple properties like the TextTrimming, TextWrapping and maybe a simplifying of the number of lines. So not using 2 different styles but only a property that allows to wrap to 2 lines and then automatically trims (depending on the TextTrimming) to CharTrimming or WordTrimming or none.
Environment
Fluent.Ribbon v8.0.3
Windows 10 21H2
.NET Framework 4.8
The text was updated successfully, but these errors were encountered:
At this very moment it seems that the header of a button (and togglebutton) only supports string-bindings, even if the header is of type object.
Is there a way we could use "TextTrimming" (which is normally a property of a TextBlock)?
We are binding a variable to the HeaderProperty and that could be in some cases very long. So we want to trim it and show the full text in the TooltipProperty.
It would be really cool if there were only some simple properties like the TextTrimming, TextWrapping and maybe a simplifying of the number of lines. So not using 2 different styles but only a property that allows to wrap to 2 lines and then automatically trims (depending on the TextTrimming) to CharTrimming or WordTrimming or none.
Environment
The text was updated successfully, but these errors were encountered: