2 instantiations of CommandMenuMode
System.Data (2)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.Commands.cs (2)
1767public static readonly CommandMenuMode NoCommandMenu = new CommandMenuMode(); 1769public static readonly CommandMenuMode FullCommandMenu = new CommandMenuMode();
12 references to CommandMenuMode
System.Data (12)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.Commands.cs (11)
39DependencyProperty.RegisterAttached("CommandMenuMode", typeof(CommandMenuMode), typeof(DesignerView), new UIPropertyMetadata(CommandMenuMode.FullCommandMenu)); 399if (!CommandMenuMode.Equals(CommandMenuMode.NoCommandMenu, GetCommandMenuMode((DependencyObject)e.OriginalSource))) 433if (!Selection.MultipleObjectsSelected(this.Context) && sender != null && CommandMenuMode.Equals(CommandMenuMode.NoCommandMenu, GetCommandMenuMode(sender))) 1727public static CommandMenuMode GetCommandMenuMode(DependencyObject obj) 1729return (CommandMenuMode)obj.GetValue(CommandMenuModeProperty); 1732public static void SetCommandMenuMode(DependencyObject obj, CommandMenuMode value) 1767public static readonly CommandMenuMode NoCommandMenu = new CommandMenuMode(); 1769public static readonly CommandMenuMode FullCommandMenu = new CommandMenuMode();
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\GenericActivityTypeDesigner.xaml.cs (1)
26DesignerView.SetCommandMenuMode(this, CommandMenuMode.NoCommandMenu);