1 instantiation of DesignerView
System.Activities.Presentation (1)
System.Activities.Presentation\System\Activities\Presentation\View\WorkflowViewManager.cs (1)
75view = new System.Activities.Presentation.View.DesignerView(this.context);
211 references to DesignerView
System.Activities.Presentation (211)
System.Activities.Presentation\System\Activities\Presentation\ActivityDesigner.cs (4)
194DesignerView designerView = this.Context.Services.GetService<DesignerView>(); 236DesignerView designerView = this.Context.Services.GetService<DesignerView>();
System.Activities.Presentation\System\Activities\Presentation\Annotations\AnnotationAdorner.cs (2)
138DesignerView designerView = ((WorkflowViewElement)AdornedElement).Context.Services.GetService<DesignerView>();
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\ValueEditors\StringEditor.cs (1)
41this.CommandBindings.Add(new CommandBinding( DesignerView.CommitCommand, OnDesignerViewCommitExecute));
System.Activities.Presentation\System\Activities\Presentation\CutCopyPasteHelper.cs (8)
215DesignerView view = context.Services.GetService<DesignerView>(); 253if (context.Services.GetService<DesignerView>() == null) 277UIElement breadCrumbRootView = ((DesignerView)context.Services.GetService<DesignerView>()).RootDesigner; 394UIElement breadcrumbRoot = childElement.Context.Services.GetService<DesignerView>().RootDesigner; 729DesignerView designerView = context.Services.GetService<DesignerView>();
System.Activities.Presentation\System\Activities\Presentation\DefaultCommandExtensionCallback.cs (24)
24defaultGestures.Add(DesignerView.GoToParentCommand, 26defaultGestures.Add(DesignerView.ExpandInPlaceCommand, 28defaultGestures.Add(DesignerView.ExpandAllCommand, 30defaultGestures.Add(DesignerView.CollapseCommand, 32defaultGestures.Add(DesignerView.CollapseAllCommand, 34defaultGestures.Add(DesignerView.RestoreCommand, 36defaultGestures.Add(DesignerView.ZoomInCommand, 40defaultGestures.Add(DesignerView.ZoomOutCommand, 44defaultGestures.Add(DesignerView.ToggleArgumentDesignerCommand, 46defaultGestures.Add(DesignerView.ToggleVariableDesignerCommand, 48defaultGestures.Add(DesignerView.ToggleImportsDesignerCommand, 50defaultGestures.Add(DesignerView.ToggleMiniMapCommand, 52defaultGestures.Add(DesignerView.CreateVariableCommand, 54defaultGestures.Add(DesignerView.CycleThroughDesignerCommand, 64defaultGestures.Add(DesignerView.MoveFocusCommand, 66defaultGestures.Add(DesignerView.ToggleSelectionCommand, 68defaultGestures.Add(DesignerView.CutCommand, 70defaultGestures.Add(DesignerView.CopyCommand, 72defaultGestures.Add(DesignerView.PasteCommand, 74defaultGestures.Add(DesignerView.SelectAllCommand, 76defaultGestures.Add(DesignerView.UndoCommand, 78defaultGestures.Add(DesignerView.RedoCommand, 127internal DesignerView Owner 133return this.ownerReference.Target as DesignerView;
System.Activities.Presentation\System\Activities\Presentation\DeleteHelper.cs (6)
24DesignerView designerView = context.Services.GetService<DesignerView>(); 42DesignerView designerView = context.Services.GetService<DesignerView>(); 71DesignerView view = context.Services.GetService<DesignerView>();
System.Activities.Presentation\System\Activities\Presentation\DragDropHelper.cs (6)
111DesignerView designerView = viewElement.Context.Services.GetService<DesignerView>(); 158DesignerView view = draggedViewElement.Context.Services.GetService<DesignerView>(); 731DesignerView designerView = null; 738designerView = viewElement.Context.Services.GetService<DesignerView>();
System.Activities.Presentation\System\Activities\Presentation\ErrorReporting.cs (2)
24internal static DesignerView ActiveDesignerView 30return activeDesignerViewReference.Target as DesignerView;
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\Connector.cs (2)
181DesignerView view = VisualTreeUtils.FindVisualAncestor<DesignerView>(this);
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\FreeFormPanel.cs (2)
152DesignerView view = VisualTreeUtils.FindVisualAncestor<DesignerView>(this);
System.Activities.Presentation\System\Activities\Presentation\Model\GenericArgumentsUpdater.cs (2)
59DesignerView designerView = modelItem.GetEditingContext().Services.GetService<DesignerView>();
System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemExtensions.cs (3)
605DesignerView designerView; 643DesignerView DesignerView 649this.designerView = this.Context.Services.GetService<DesignerView>();
System.Activities.Presentation\System\Activities\Presentation\Model\ModelSearchServiceImpl.cs (11)
64this.editingContext.Services.Subscribe<DesignerView>(new SubscribeServiceCallback<DesignerView>(this.OnDesignerViewAvailable)); 196private void OnDesignerViewAvailable(DesignerView designerView) 646var designerView = this.editingContext.Services.GetService<DesignerView>(); 655var designerView = this.editingContext.Services.GetService<DesignerView>(); 684DesignerView designerView = this.editingContext.Services.GetService<DesignerView>(); 709DesignerView designerView = this.editingContext.Services.GetService<DesignerView>();
System.Activities.Presentation\System\Activities\Presentation\Toolbox\ToolboxControl.cs (3)
379DesignerView target = this.AssociatedDesigner.Context.Services.GetService<DesignerView>(); 382((RoutedCommand)DesignerView.CreateWorkflowElementCommand).Execute(dataObject, target);
System.Activities.Presentation\System\Activities\Presentation\UndoUnit.cs (4)
32DesignerView designerView = context.Services.GetService<DesignerView>(); 41DesignerView designerView = context.Services.GetService<DesignerView>();
System.Activities.Presentation\System\Activities\Presentation\View\ActivityTypeDesigner.xaml.cs (2)
40p.Command == DesignerView.GoToParentCommand || 41p.Command == DesignerView.ExpandCommand);
System.Activities.Presentation\System\Activities\Presentation\View\ArgumentDesigner.xaml.cs (1)
71this.dgHelper.AddNewRowCommand = DesignerView.CreateArgumentCommand;
System.Activities.Presentation\System\Activities\Presentation\View\BreadCrumbTextConverter.cs (1)
33else if (LocalAppContextSwitches.UseLegacyAccessibilityFeatures && values[0] is DesignerView.BreadCrumbObjectSeparator)
System.Activities.Presentation\System\Activities\Presentation\View\DataGridHelper.cs (4)
1173protected DesignerView DesignerView 1191this.DesignerView = helper.Context.Services.GetService<DesignerView>(); 1459((RoutedCommand)DesignerView.CommitCommand).Execute(null, etb); 1550if (null != currentFocus && null != VisualTreeUtils.FindVisualAncestor<DesignerView>(currentFocus))
System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.Commands.cs (50)
39DependencyProperty.RegisterAttached("CommandMenuMode", typeof(CommandMenuMode), typeof(DesignerView), new UIPropertyMetadata(CommandMenuMode.FullCommandMenu)); 42DependencyProperty.RegisterAttached("MenuItemOrigin", typeof(FrameworkElement), typeof(DesignerView)); 45DependencyProperty.Register("MenuItemStyle", typeof(Style), typeof(DesignerView), new UIPropertyMetadata(null)); 48DependencyProperty.Register("MenuSeparatorStyle", typeof(Style), typeof(DesignerView), new UIPropertyMetadata(null)); 52public static readonly ICommand GoToParentCommand = new RoutedCommand("GoToParentCommand", typeof(DesignerView)); 54public static readonly ICommand ExpandCommand = new RoutedCommand("ExpandCommand", typeof(DesignerView)); 56public static readonly ICommand ExpandAllCommand = new RoutedCommand("ExpandAllCommand", typeof(DesignerView)); 58public static readonly ICommand CollapseCommand = new RoutedCommand("CollapseCommand", typeof(DesignerView)); 60public static readonly ICommand CollapseAllCommand = new RoutedCommand("CollapseAllCommand", typeof(DesignerView)); 62public static readonly ICommand RestoreCommand = new RoutedCommand("RestoreCommand", typeof(DesignerView)); 64public static readonly ICommand ExpandInPlaceCommand = new RoutedCommand("ExpandInPlaceCommand", typeof(DesignerView)); 66public static readonly ICommand InsertBreakpointCommand = new RoutedCommand("InsertBreakpointCommand", typeof(DesignerView)); 68public static readonly ICommand DeleteBreakpointCommand = new RoutedCommand("DeleteBreakpointParentCommand", typeof(DesignerView)); 70public static readonly ICommand EnableBreakpointCommand = new RoutedCommand("EnableBreakpointCommand", typeof(DesignerView)); 72public static readonly ICommand DisableBreakpointCommand = new RoutedCommand("DisableBreakpointCommand", typeof(DesignerView)); 74public static readonly ICommand SaveAsImageCommand = new RoutedCommand("SaveAsImageCommand", typeof(DesignerView)); 76public static readonly ICommand CopyAsImageCommand = new RoutedCommand("CopyAsImageCommand", typeof(DesignerView)); 78public static readonly ICommand ZoomInCommand = new RoutedCommand("ZoomInCommand", typeof(DesignerView)); 80public static readonly ICommand ZoomOutCommand = new RoutedCommand("ZoomOutCommand", typeof(DesignerView)); 82public static readonly ICommand ToggleArgumentDesignerCommand = new RoutedCommand("ToggleArgumentDesignerCommand", typeof(DesignerView)); 84public static readonly ICommand ToggleImportsDesignerCommand = new RoutedCommand("ToggleImportsDesignerCommand", typeof(DesignerView)); 86public static readonly ICommand ToggleVariableDesignerCommand = new RoutedCommand("ToggleVariableDesignerCommand", typeof(DesignerView)); 88public static readonly ICommand CreateVariableCommand = new RoutedCommand("CreateVariableCommand", typeof(DesignerView)); 90public static readonly ICommand ToggleMiniMapCommand = new RoutedCommand("ToggleMinimapCommand", typeof(DesignerView)); 92public static readonly ICommand CycleThroughDesignerCommand = new RoutedCommand("CycleThroughDesignerCommand", typeof(DesignerView)); 94public static readonly ICommand CreateWorkflowElementCommand = new RoutedCommand("CreateWorkflowElementCommand", typeof(DesignerView)); 96public static readonly ICommand CreateArgumentCommand = new RoutedCommand("CreateArgumentCommand", typeof(DesignerView)); 98public static readonly ICommand CommitCommand = new RoutedCommand("CommitCommand", typeof(DesignerView)); 100public static readonly ICommand FitToScreenCommand = new RoutedCommand("FitToScreenCommand", typeof(DesignerView)); 102public static readonly ICommand ResetZoomCommand = new RoutedCommand("ResetZoomCommand", typeof(DesignerView)); 104public static readonly ICommand MoveFocusCommand = new RoutedCommand("MoveFocusCommand", typeof(DesignerView)); 106public static readonly ICommand ToggleSelectionCommand = new RoutedCommand("ToggleSelectionCommand", typeof(DesignerView)); 108public static readonly ICommand CutCommand = new RoutedCommand("CutCommand", typeof(DesignerView)); 110public static readonly ICommand CopyCommand = new RoutedCommand("CopyCommand", typeof(DesignerView)); 112public static readonly ICommand PasteCommand = new RoutedCommand("PasteCommand", typeof(DesignerView)); 114public static readonly ICommand SelectAllCommand = new RoutedCommand("SelectAllCommand", typeof(DesignerView)); 116public static readonly ICommand UndoCommand = new RoutedCommand("UndoCommand", typeof(DesignerView)); 118public static readonly ICommand RedoCommand = new RoutedCommand("RedoCommand", typeof(DesignerView)); 120public static readonly ICommand AddAnnotationCommand = new RoutedCommand("AddAnnotationCommand", typeof(DesignerView)); 122public static readonly ICommand EditAnnotationCommand = new RoutedCommand("EditAnnotationCommand", typeof(DesignerView)); 124public static readonly ICommand DeleteAnnotationCommand = new RoutedCommand("DeleteAnnotationCommand", typeof(DesignerView)); 126public static readonly ICommand ShowAllAnnotationCommand = new RoutedCommand("ShowAllAnnotationCommand", typeof(DesignerView)); 128public static readonly ICommand HideAllAnnotationCommand = new RoutedCommand("HideAllAnnotationCommand", typeof(DesignerView)); 130public static readonly ICommand DeleteAllAnnotationCommand = new RoutedCommand("DeleteAllAnnotationCommand", typeof(DesignerView)); 471DesignerView.SetMenuItemOrigin(item, this.contextMenuTarget); 496.Where(p => DesignerView.GetMenuItemOrigin(p) != null) 505DesignerView.GetMenuItemOrigin(item).ContextMenu.Items.Insert(0, item); 506DesignerView.SetMenuItemOrigin(item, null); 1739DesignerView owner; 1741public ContextMenuItemStyleSelector(DesignerView owner)
System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.xaml.cs (28)
52DependencyProperty.Register("RootDesigner", typeof(UIElement), typeof(DesignerView), new FrameworkPropertyMetadata(null, new PropertyChangedCallback(DesignerView.OnRootDesignerChanged))); 55DependencyProperty.Register("IsReadOnly", typeof(bool), typeof(DesignerView), new UIPropertyMetadata(OnIsReadOnlyChanged)); 58DependencyProperty.RegisterReadOnly("ActivitySchema", typeof(ModelItem), typeof(DesignerView), new UIPropertyMetadata(OnActivitySchemaChanged)); 63DependencyProperty.RegisterReadOnly("FocusedViewElement", typeof(WorkflowViewElement), typeof(DesignerView), new UIPropertyMetadata(null)); 66DependencyProperty.Register("InPanMode", typeof(bool), typeof(DesignerView), new UIPropertyMetadata(OnInPanModeChanged)); 70internal static DependencyProperty ShouldExpandAllProperty = DependencyProperty.Register("ShouldExpandAll", typeof(bool), typeof(DesignerView), new PropertyMetadata(false, new PropertyChangedCallback(OnExpandAllCollapseAllChanged))); 71internal static DependencyProperty ShouldCollapseAllProperty = DependencyProperty.Register("ShouldCollapseAll", typeof(bool), typeof(DesignerView), new PropertyMetadata(false, new PropertyChangedCallback(OnExpandAllCollapseAllChanged))); 169object expandAllState = viewStateService.RetrieveViewState(modelTreeManager.Root, DesignerView.ShouldExpandAllProperty.Name); 176object collapseAllState = viewStateService.RetrieveViewState(modelTreeManager.Root, DesignerView.ShouldCollapseAllProperty.Name); 251((DesignerView)o).OnExpandAllCollapseAllChanged(e); 858DesignerView control = (DesignerView)dependencyObject; 864DesignerView control = (DesignerView)dependencyObject; 870DesignerView designerView = (DesignerView)dependencyObject; 876DesignerView designerView = (DesignerView)dependencyObject; 1404DesignerView designerView = this.Context.Services.GetService<DesignerView>(); 1426DesignerView designerView = this.context.Services.GetService<DesignerView>(); 1485DesignerView view; 1489internal ZoomToTicksConverter(DesignerView designer, Slider zoomSlider, ComboBox zoomPicker) 1744public DesignerViewProxy(DesignerView designerView) 1751DesignerView designerView = this.reference.Target as DesignerView;
System.Activities.Presentation\System\Activities\Presentation\View\ExpressionValueEditor.cs (2)
33DependencyObject owner = ctx.Services.GetService<DesignerView>(); 83okButton.Command = DesignerView.CommitCommand;
System.Activities.Presentation\System\Activities\Presentation\View\ExtensionSurface.cs (6)
25typeof(DesignerView), 77public DesignerView Designer 79get { return (DesignerView)GetValue(DesignerProperty); } 107DesignerView designer; 110designer = (DesignerView)args.OldValue; 114designer = (DesignerView)args.NewValue;
System.Activities.Presentation\System\Activities\Presentation\View\GenericActivityTypeDesigner.xaml.cs (1)
26DesignerView.SetCommandMenuMode(this, CommandMenuMode.NoCommandMenu);
System.Activities.Presentation\System\Activities\Presentation\View\RubberBandSelector.cs (3)
78private DesignerView Designer 82return this.context.Services.GetService<DesignerView>(); 109if (DesignerView.IsMouseInViewport(e, this.Designer.scrollViewer) && !this.IsMouseOnDragHandle(e) && !this.IsMouseOverAdorner(e))
System.Activities.Presentation\System\Activities\Presentation\View\ScrollViewerPanner.cs (1)
246if (DesignerView.IsMouseInViewport(e, this.scrollViewer))
System.Activities.Presentation\System\Activities\Presentation\View\SearchToolTipAdorner.cs (1)
18public SearchToolTipAdorner(UIElement adornedElement, DesignerView designerView, string text)
System.Activities.Presentation\System\Activities\Presentation\View\VariableDesigner.xaml.cs (1)
68this.dgHelper.AddNewRowCommand = DesignerView.CreateVariableCommand;
System.Activities.Presentation\System\Activities\Presentation\View\ViewUtilities.cs (4)
111DesignerView designerView = context.Services.GetService<DesignerView>(); 119DesignerView designerView = context.Services.GetService<DesignerView>();
System.Activities.Presentation\System\Activities\Presentation\View\VirtualizedContainerService.cs (4)
39DesignerView designerView; 55this.context.Services.Subscribe<DesignerView>((designerView) => 98DesignerView DesignerView 104this.designerView = this.context.Services.GetService<DesignerView>();
System.Activities.Presentation\System\Activities\Presentation\View\VisualBasicEditor.xaml.cs (2)
419DesignerView designerView = this.Context.Services.GetService<DesignerView>();
System.Activities.Presentation\System\Activities\Presentation\View\WorkflowViewManager.cs (2)
33System.Activities.Presentation.View.DesignerView view; 81this.context.Services.Publish<DesignerView>(view);
System.Activities.Presentation\System\Activities\Presentation\WorkflowDesigner.cs (5)
344DesignerView designerView = this.context.Services.GetService<DesignerView>(); 650RoutedCommand cmd = DesignerView.CommitCommand as RoutedCommand; 658var designerView = this.Context.Services.GetService<DesignerView>();
System.Activities.Presentation\System\Activities\Presentation\WorkflowViewElement.cs (13)
198readOnlyBinding.RelativeSource = new RelativeSource(RelativeSourceMode.FindAncestor, typeof(DesignerView), 1); 199readOnlyBinding.Path = new PropertyPath(DesignerView.IsReadOnlyProperty); 217DesignerView view = this.Context.Services.GetService<DesignerView>(); 219expandAllBinding.Path = new PropertyPath(DesignerView.ShouldExpandAllProperty); 223collapseAllBinding.Path = new PropertyPath(DesignerView.ShouldCollapseAllProperty); 379protected internal DesignerView Designer 383DesignerView designer = this.Context.Services.GetService<DesignerView>(); 514DesignerView designerView = this.Context.Services.GetService<DesignerView>(); 573DesignerView designerView = this.Context.Services.GetService<DesignerView>();