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
In our application we would like to disable/hide the "Minimize"-Button from the ribbon.
The ribbon should not be "minimized" at all, so currently we do this via the VisualTreeHelper and search for the "PART_MinimizeButton" and disable it.
To prevent the minimizing via Mouse-Double click we have a EventHandler and just set "IsMinimized=false". It is a bit dirty, but works.
Would you accept a PR with a property like "CanMinimizeRibbon="False", which disables the "default"-ribbon behavior?
The text was updated successfully, but these errors were encountered:
I would.
Please name it "CanMinimize".
There are quite a few places that enable minimizing.
The ones I found so far:
MenuItem from ContextMenu
Keyboard shortcut (SHIFT + F1)
Button
You would have to modify Ribbon and RibbonTabControl and I guess you want to change the visibility of the MenuItem in the ContextMenu and the button itself based on the value of CanMinimize.
In our application we would like to disable/hide the "Minimize"-Button from the ribbon.
The ribbon should not be "minimized" at all, so currently we do this via the VisualTreeHelper and search for the "PART_MinimizeButton" and disable it.
To prevent the minimizing via Mouse-Double click we have a EventHandler and just set "IsMinimized=false". It is a bit dirty, but works.
Would you accept a PR with a property like "CanMinimizeRibbon="False", which disables the "default"-ribbon behavior?
The text was updated successfully, but these errors were encountered: