2 writes to contextMenuTarget
System.Data (2)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.Commands.cs (2)
441
this.
contextMenuTarget
= sender as WorkflowViewElement;
508
this.
contextMenuTarget
= null;
16 references to contextMenuTarget
System.Data (16)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.Commands.cs (16)
463
if (null != this.
contextMenuTarget
&& null != this.
contextMenuTarget
.ContextMenu)
465
var items = this.
contextMenuTarget
.ContextMenu.Items.OfType<Control>().Reverse();
470
this.
contextMenuTarget
.ContextMenu.Items.Remove(item);
471
DesignerView.SetMenuItemOrigin(item, this.
contextMenuTarget
);
476
Fx.Assert(this.
contextMenuTarget
.IsVisible, string.Format(CultureInfo.InvariantCulture, "ContextMenuTarget {0} is not visible", this.
contextMenuTarget
.GetType()));
478
this.ContextMenu.PlacementTarget = this.
contextMenuTarget
;
491
if (null != contextMenuToUnload && null != this.
contextMenuTarget
)
543
this.Dispatcher.BeginInvoke(DispatcherPriority.Normal, contextMenuLoaded, this.
contextMenuTarget
, this);
609
item.Visibility = this.navigateToParentFunction(this.
contextMenuTarget
, false);
622
this.navigateToParentFunction(this.
contextMenuTarget
?? this.FocusedViewElement, true);
697
item.Visibility = ExpandButtonVisibilityConverter.GetExpandCollapseButtonVisibility(this.
contextMenuTarget
);
732
item.Visibility = this.navigateToChildFunction(this.
contextMenuTarget
, false);
745
this.navigateToChildFunction(this.
contextMenuTarget
?? this.FocusedViewElement, true);
853
this.areBreakpointServicesEnabled() && (this.
contextMenuTarget
is ActivityDesigner) ?