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; }
Hello,
Please make sure that the UltraToolbarsManager's Office2007UICompatibility property is set to False. Many of the Bools among exposed by this event are dependent on this property. For more details please review the following forum thread.
http://ko.infragistics.com/community/forums/p/34030/302460.aspx