Hello,
I would like to disable the ContextMenu popup fade-in animation for a RadDock, but I cannot find where to do this.
I know how to disable the contextmenu animation for a RadGrid, for example, by subscribing to the grid's ContextMenuOpening event and using e.ContextMenu.AnimationEnabled = false; when the event fires.
However, the RadDock context menus are handled by the ContextMenuService, which only has the ContextMenuDisplaying event, and in this events handler, there is not a reference to the actual context menu object, just a list of the menuitems and the upcoming display position.
I know that ThemeResolutionService.AllowAnimations = false; will accomplish this, but this will also disable all animations across the application, which I do not want to do. I just want to disable the ContextMenu fade-in animation.
Any advice on how to do this?
Thanks,
Michelle
I would like to disable the ContextMenu popup fade-in animation for a RadDock, but I cannot find where to do this.
I know how to disable the contextmenu animation for a RadGrid, for example, by subscribing to the grid's ContextMenuOpening event and using e.ContextMenu.AnimationEnabled = false; when the event fires.
However, the RadDock context menus are handled by the ContextMenuService, which only has the ContextMenuDisplaying event, and in this events handler, there is not a reference to the actual context menu object, just a list of the menuitems and the upcoming display position.
I know that ThemeResolutionService.AllowAnimations = false; will accomplish this, but this will also disable all animations across the application, which I do not want to do. I just want to disable the ContextMenu fade-in animation.
Any advice on how to do this?
Thanks,
Michelle