Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable/Hide the Menu-DropDown in QuickAccessToolbar #387

Closed
the-madcat opened this issue Jan 11, 2017 · 1 comment
Closed

Disable/Hide the Menu-DropDown in QuickAccessToolbar #387

the-madcat opened this issue Jan 11, 2017 · 1 comment
Milestone

Comments

@the-madcat
Copy link

Hi

Right now I am on a relatively small application (400 x 300 pixels) so I decided to move some of the less used functions to the QuickAccessToolbar. Because one of these functions is Options I do not want to allow the user to customize the toolbar (because of Murphy's laws it will be sure that some of the ... you know what kind of users I mean ... will disable it and call me because the options are gone ...). The most obvious way for me was to set CanCustomizeQuickAccessToolBar="False". Unfortunately it seems to have no effect. Is this option not meant to hide the dropdown menu?

These are all options I use right now:

  • CanCustomizeRibbon="False"
  • IsAutomaticCollapseEnabled="False"
  • CanMinimize="False"
  • CanCustomizeQuickAccessToolBar="False"
  • CanCustomizeQuickAccessToolBarItems="False"
  • CanQuickAccessLocationChanging="False"
  • IsQuickAccessToolBarVisible="True"

My current workaround is to make the QuickAccessMenuItem not checkable but that seems to be an ugly solution.

Thanks in advance. You do a great job with this Ribbon. It is by far the best solution I found right now.


Environment

  • Fluent.Ribbon v4.0.3.394
  • Theme Office2013
  • Windows 8.1
  • .NET Framework 4.5
@batzen
Copy link
Member

batzen commented Jan 19, 2017

There is currently no way to disable the dropdown menu.

CanCustomizeQuickAccessToolBar just adds "Customize Quick Access Toolbar..." to the context menu and you have to handle the event CustomizeQuickAccessToolbar to actually cause something to happen. I honestly don't know why this was added/implemented.

CanCustomizeQuickAccessToolBarItems disables adding and removing items to the toolbar.

Will mark this as an enhancement as it's quite difficult to hide that button.

@batzen batzen added this to the 5.0.0 milestone Jan 20, 2017
@batzen batzen changed the title Disable the customization of the QuickAccessToolbar Disable the Menu-DropDown in QuickAccessToolbar Jan 20, 2017
@batzen batzen changed the title Disable the Menu-DropDown in QuickAccessToolbar Disable/Hide the Menu-DropDown in QuickAccessToolbar Jan 20, 2017
@batzen batzen closed this as completed in 71592ce Jan 20, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants