Routed Command raised on opened Backstage Application Menu

Ribbon for WPF Forum

Posted 10 years ago by Aleksey Pechenev - Edifecs,Inc.
Version: 13.2.0592
Platform: .NET 4.0
Environment: Windows 8 (64-bit)


We have application which used Backstage as Application menu, also we use ToolWindows as global plugins, each of the plugin has their own global routed commands with specific gestures. We faced the specific problem with such scenario. When you open Application Menu and push gesture of some routed command this command will be raised. 

We expect when Application Menu is opened RoutedCommands which are binded in ToolWindows cannot be fired




		<docking:SplitContainer Orientation="Vertical">
				<docking:ToolWindow x:Name="ToolWnd">
					<Button Width="24" Height="24" Command="{x:Static wpfTestApp:RoutedCommands.Cmd}"/>

Comments (1)

Posted 10 years ago by Actipro Software Support - Cleveland, OH, USA

Hi Aleksey,

Backstage is opening within the context of the same Window and isn't a separate Window or Popup.  Thus any routed commands that are available at the root Window level will still be accessible while it is open.  I would suggest that perhaps your CanExecute handler for the command returns false when the Backstage is open to prevent it from working in that scenario.

Actipro Software Support

The latest build of this product (v24.1.2) was released 2 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.