Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
485
ShowQuickAccessToolbarAddRemoveMenuItem error
posted

Hi, 

Using Tag as mark for avoid the QuickAccessToolbarAddRemoveMenuItem this code makes nothing, the item appears.

Debugging all is ok, e.ShowQuickAccessToolbarAddRemoveMenuItem is set to false but the item appears.

private void tbManager50_BeforeToolbarListDropdown(object sender, BeforeToolbarListDropdownEventArgs e)
{
     if (e.Tool.SharedProps.Tag != null)
          if (e.Tool.SharedProps.Tag.ToString() == "NOQAT")
               e.ShowQuickAccessToolbarAddRemoveMenuItem = false;
}