Completed
Last Updated: 22 Jan 2018 13:45 by Dimitar
ADMIN
Dess | Tech Support Engineer, Sr.
Created on: 26 Sep 2017 05:33
Category: Dock
Type: Bug Report
2
FIX. RadDock - ampersand is not displayed as expected in the context menu for the DocumentTabStrip.
Workaround:
            ContextMenuService menuService = this.radDock1.GetService<ContextMenuService>();
            menuService.ContextMenuDisplaying += menuService_ContextMenuDisplaying;

        private void menuService_ContextMenuDisplaying(object sender, ContextMenuDisplayingEventArgs e)
        {
            foreach (RadMenuItem listMenuItem in e.MenuItems)
            {
                TextPrimitive textPrimitive = listMenuItem.Layout.TextPanel.Children[0] as TextPrimitive;
                textPrimitive.UseMnemonic = false;
            }
        }
0 comments