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