3 overrides of View
System.Data (3)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemCollectionImpl.cs (1)
174
public override DependencyObject
View
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemDictionaryImpl.cs (1)
332
public override DependencyObject
View
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemImpl.cs (1)
168
public override DependencyObject
View
90 references to View
System.Data (90)
cdf\src\NetFx40\Tools\System.Activities.Core.Presentation\System\Activities\Core\Presentation\SwitchDesigner.xaml.cs (2)
279
CaseDesigner oldSelectedCaseDesigner = (CaseDesigner)oldSelectedCase.
View
;
290
CaseDesigner newSelectedCaseDesigner = (CaseDesigner)newSelectedCase.
View
;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\PropertyInspector.xaml.cs (4)
210
Visual selectedVisual = _displayedSelection.PrimarySelection.
View
as Visual;
214
if (selectedVisual != null && !typeof(Window).IsAssignableFrom(_displayedSelection.PrimarySelection.
View
.GetType()))
539
FrameworkElement selectedElement = _lastNotifiedSelection.PrimarySelection.
View
as FrameworkElement;
552
FrameworkElement curElm = item.
View
as FrameworkElement;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\ContextMenuUtilities.cs (3)
110
if (modelItem.
View
!= null)
112
WorkflowViewElement element = modelItem.
View
as WorkflowViewElement;
125
WorkflowViewElement element = modelItem.
View
as WorkflowViewElement;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Converters\ModelPropertyEntryToModelItemConverter.cs (3)
42
result = new Container(item, context, item.
View
, propertyEntry.PropertyValue);
67
result = new Container(item, context, item.
View
, property.PropertyValue);
121
context.WorkflowViewElement = (null == modelItem ? null : modelItem.
View
);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\CutCopyPasteHelper.cs (18)
291
if (modelItem.
View
!= null)
294
if (breadCrumbRootView.Equals(modelItem.
View
))
302
ICompositeView container = (ICompositeView)DragDropHelper.GetCompositeView((WorkflowViewElement)modelItem.
View
);
377
List<WorkflowViewElement> parentViewElements = GetSelectableParentViewElements(modelItem.
View
as WorkflowViewElement);
455
Visual parentVisual = clickedModelItem.
View
as Visual;
480
if (null != pasteModelItem && null != pasteModelItem.
View
&& pasteModelItem.
View
is WorkflowViewElement)
482
pasteContainer = ((WorkflowViewElement)pasteModelItem.
View
).ActiveCompositeView;
504
WorkflowViewElement view = pasteModelItem.
View
as WorkflowViewElement;
507
pasteContainer = pasteModelItem.
View
as ICompositeView;
515
HashSet<ICompositeView> childrenContainers = CutCopyPasteHelper.GetChildContainers(pasteModelItem.
View
as WorkflowViewElement);
516
if ((childrenContainers == null || childrenContainers.Count == 0) && null != pasteModelItem.
View
)
518
pasteContainer = (ICompositeView)DragDropHelper.GetCompositeView((WorkflowViewElement)pasteModelItem.
View
);
704
return null != item.
View
&& item.
View
is WorkflowViewElement &&
705
null != ((WorkflowViewElement)item.
View
).ModelItem &&
706
CanCopy(((WorkflowViewElement)item.
View
).ModelItem.ItemType);
731
CanCopy(p) && !p.
View
.Equals(designerView.RootDesigner));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\DeleteHelper.cs (7)
26
p => (null != p.
View
&& p.
View
is WorkflowViewElement && !p.
View
.Equals(designerView.RootDesigner)));
43
var toDelete = selection.SelectedObjects.Where(p => null != p.
View
&& p.
View
is WorkflowViewElement && !p.
View
.Equals(designerView.RootDesigner));
52
ICompositeView container = (ICompositeView)DragDropHelper.GetCompositeView((WorkflowViewElement)item.
View
);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\DragDropHelper.cs (6)
599
if (modelItem == null || modelItem.
View
== null)
605
.GetCompositeView(modelItem.
View
as WorkflowViewElement) as ICompositeView;
778
if (draggedModelItem != null && draggedModelItem.
View
!= null)
780
draggedViewElements.Add((WorkflowViewElement)draggedModelItem.
View
);
788
if (draggedModelItem != null && draggedModelItem.
View
!= null)
790
draggedViewElements.Add((WorkflowViewElement)draggedModelItem.
View
);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\AutoConnectHelper.cs (1)
233
DependencyObject draggedView = draggedModelItem != null ? draggedModelItem.
View
: null;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemExtensions.cs (11)
746
if (null != this.itemToFocus.
View
&& ((UIElement)this.itemToFocus.
View
).IsVisible)
793
var firstVisibleItem = visualItems.FirstOrDefault(p => null != p.
View
&& ((UIElement)p.
View
).IsVisible);
962
if (null != this.itemToFocus.
View
&& ((FrameworkElement)this.itemToFocus.
View
).IsVisible)
967
((FrameworkElement)this.itemToFocus.
View
).BringIntoView(rectToBringIntoView);
971
((FrameworkElement)this.itemToFocus.
View
).BringIntoView();
975
Keyboard.Focus(this.itemToFocus.
View
as IInputElement);
1001
if (null == ModelItemFocusHelper.focusTicket && (null == this.itemToFocus.
View
|| !((UIElement)this.itemToFocus.
View
).IsVisible))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelSearchServiceImpl.cs (2)
678
WorkflowViewElement viewElement = itemToFocus.
View
as WorkflowViewElement;
712
FrameworkElement fe = (FrameworkElement)itemToFocus.
View
;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.Commands.cs (8)
401
if (null != currentSelection.PrimarySelection.
View
)
403
target = currentSelection.PrimarySelection.
View
;
1342
if (selection.SelectionCount != 0 && selection.PrimarySelection.
View
!= null)
1344
return (UIElement)selection.PrimarySelection.
View
;
1426
if (selection.SelectionCount == 1 && selection.PrimarySelection.
View
is WorkflowViewElement)
1428
WorkflowViewElement viewElement = (WorkflowViewElement)selection.PrimarySelection.
View
;
1455
Fx.Assert(selection.PrimarySelection.
View
is WorkflowViewElement, "selection.PrimarySelection.View should be WorkflowViewElement type.");
1457
WorkflowViewElement viewElement = (WorkflowViewElement)selection.PrimarySelection.
View
;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.xaml.cs (3)
502
WorkflowViewElement viewElement = newRoot.
View
as WorkflowViewElement;
510
WorkflowViewElement view = parent.
View
as WorkflowViewElement;
527
WorkflowViewElement view = parent.
View
as WorkflowViewElement;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\RubberBandSelector.cs (2)
296
Keyboard.Focus(selectedModelItems[0].
View
as IInputElement);
320
WorkflowViewElement view = item == null ? null : (item.
View
as WorkflowViewElement);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\TreeView\TreeViewItemModelItemViewModel.cs (1)
365
designer = this.VisualValue.
View
as ActivityDesigner;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\ViewUtilities.cs (2)
120
return modelItem != null && modelItem.
View
!= null && modelItem.
View
.Equals(designerView.RootDesigner);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\WorkflowViewService.cs (3)
51
if (modelItem.
View
!= null && ((WorkflowViewElement)modelItem.
View
).Parent == null)
53
viewElement = (WorkflowViewElement)modelItem.
View
;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\WorkflowItemPresenter.cs (6)
143
if (droppedObject is ModelItem && ((ModelItem)droppedObject).
View
!= null)
145
WorkflowViewElement view = (WorkflowViewElement)((ModelItem)droppedObject).
View
;
442
Keyboard.Focus((UIElement)this.Item.
View
);
454
UIElement view = (UIElement)(this.Item.
View
);
549
if (droppedObject is ModelItem && ((ModelItem)droppedObject).
View
!= null)
551
DragDropHelper.SetDragDropMovedViewElements(args, new WorkflowViewElement[] { ((ModelItem)droppedObject).
View
as WorkflowViewElement });
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\WorkflowItemsPresenter.cs (2)
259
UIElement view = (UIElement)insertedItem.
View
;
631
WorkflowViewElement view = (modelItem == null) ? null : (modelItem.
View
as WorkflowViewElement);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\WorkflowViewElement.cs (6)
732
return p != null && p != p.Root && p.
View
!= null && ((WorkflowViewElement)p.
View
).IsVisible &&
733
(DragDropHelper.GetCompositeView((WorkflowViewElement)p.
View
) as ICompositeView) != null;
931
WorkflowViewElement view = (WorkflowViewElement)modelItem.
View
;
1005
BeginDropAnimation((WorkflowViewElement)movedItem.
View
);
1026
IInputElement viewToFocus = item == null ? null : item.
View
as IInputElement;