236 references to GetParent
Microsoft.VisualStudio.LanguageServices (1)
Utilities\DependencyObjectExtensions.cs (1)
16return (obj is Visual) ? VisualTreeHelper.GetParent(obj) : null;
PresentationCore (47)
MS\Internal\Automation\ElementUtil.cs (4)
61return VisualTreeHelper.GetParent(el) as Visual; 89Visual parent = VisualTreeHelper.GetParent(el) as Visual; 103Visual parent = VisualTreeHelper.GetParent(el) as Visual; 119Visual test = VisualTreeHelper.GetParent(scan) as Visual;
MS\Internal\DeferredElementTreeState.cs (2)
36parent = VisualTreeHelper.GetParent(v); 50parent = VisualTreeHelper.GetParent(v3D);
MS\Internal\Ink\Renderer.cs (5)
369= VisualTreeHelper.GetParent(visual) as ContainerVisual; 586&& (VisualTreeHelper.GetParent(precedingVisual) != null)) 588VisualCollection children = ((ContainerVisual)(VisualTreeHelper.GetParent(precedingVisual))).Children; 610ContainerVisual parent = (ContainerVisual)(VisualTreeHelper.GetParent(visual)); 675else if (VisualTreeHelper.GetParent(hcVisual) == null)
MS\Internal\Media3D\M3DUtil.cs (1)
543dependencyObject = VisualTreeHelper.GetParent(dependencyObject);
MS\Internal\UIElementHelper.cs (1)
81reference = VisualTreeHelper.GetParent(reference);
System\Windows\Automation\Peers\UIElement3DAutomationPeer.cs (1)
256reference = VisualTreeHelper.GetParent(reference);
System\Windows\Automation\Peers\UIElementAutomationPeer.cs (2)
274DependencyObject parent = VisualTreeHelper.GetParent(owner); 304parent = VisualTreeHelper.GetParent(parent);
System\Windows\Diagnostics\VisualDiagnostics.cs (1)
132isPotentialOuterChange: (changeType==VisualTreeChangeType.Add && index==0 && VisualTreeHelper.GetParent(parent) == null));
System\Windows\Input\FocusManager.cs (2)
334dependencyObject = VisualTreeHelper.GetParent(dependencyObject); 387DependencyObject visualParent = VisualTreeHelper.GetParent(d);
System\Windows\Input\InputElement.cs (5)
65DependencyObject parent = VisualTreeHelper.GetParent(v); 73DependencyObject parent = VisualTreeHelper.GetParent(v3D); 113DependencyObject parent = VisualTreeHelper.GetParent(v); 121DependencyObject parent = VisualTreeHelper.GetParent(v3D); 195while(rootVisual != null && ((parentVisual = VisualTreeHelper.GetParent(rootVisual)) != null))
System\Windows\Input\Manipulation.cs (1)
310visual = VisualTreeHelper.GetParent(visual) as Visual;
System\Windows\Input\TouchDevice.cs (1)
1215currentChild = VisualTreeHelper.GetParent(currentChild);
System\Windows\Media\BitmapCacheBrush.cs (4)
216((VisualTreeHelper.GetParent(element) == null && !(element.IsRootElement)) // element is not connected to visual tree, OR 217|| (VisualTreeHelper.GetParent(element) is Visual3D) // element is a 2D child of a 3D object, OR 218|| (VisualTreeHelper.GetParent(element) == InternalTarget))) // element is only connected to visual tree via our wrapper Visual 271DependencyObject parent = VisualTreeHelper.GetParent(element);
System\Windows\Media\Visual.cs (3)
4507while ((VisualTreeHelper.GetParent(g) != null) && (g != ancestor)) 5113e = VisualTreeHelper.GetParent(e); 5182e = VisualTreeHelper.GetParent(e);
System\Windows\Media\VisualBrush.cs (3)
199((VisualTreeHelper.GetParent(element) == null && !(element.IsRootElement)) 200|| (VisualTreeHelper.GetParent(element) is Visual3D))) 239DependencyObject parent = VisualTreeHelper.GetParent(element);
System\Windows\Media\VisualTreeHelper.cs (2)
187reference = VisualTreeHelper.GetParent(reference); 206reference = VisualTreeHelper.GetParent(reference);
System\Windows\Media3D\Visual3D.cs (4)
466Debug.Assert(VisualTreeHelper.GetParent(this) != null, "If oldParent is null, current parent should != null."); 471VisualTreeHelper.GetParent(this), 1681while ((VisualTreeHelper.GetParent(g) != null) && (g != ancestor)) 1693g = VisualTreeHelper.GetParent(gAsVisual3D);
System\Windows\Navigation\BaseUriHelper.cs (1)
599doCurrent = VisualTreeHelper.GetParent(vis);
System\Windows\UIElement.cs (4)
727for(Visual v = VisualTreeHelper.GetParent(this) as Visual; v != null; v = VisualTreeHelper.GetParent(v) as Visual) 745for(Visual v = VisualTreeHelper.GetParent(this) as Visual; v != null; v = VisualTreeHelper.GetParent(v) as Visual)
PresentationFramework (171)
MS\Internal\Annotations\Anchoring\PathNode.cs (1)
245parent = VisualTreeHelper.GetParent(visual);
MS\Internal\Annotations\Component\AdornerPresentationContext.cs (1)
147Visual parent = VisualTreeHelper.GetParent(_adornerLayer) as Visual;
MS\Internal\Annotations\Component\AnnotationAdorner.cs (1)
178AdornerLayer adornerLayer = (AdornerLayer)VisualTreeHelper.GetParent(this);
MS\Internal\Controls\InkCanvasFeedbackAdorner.cs (2)
118UIElement parent = ((UIElement)VisualTreeHelper.GetParent(this)) as UIElement; 122((UIElement)VisualTreeHelper.GetParent(this)).InvalidateArrange();
MS\Internal\Controls\InkCanvasInnerCanvas.cs (1)
276DependencyObject parent = VisualTreeHelper.GetParent(currentObject);
MS\Internal\Data\ObjectRef.cs (2)
267ContentPresenter cp = VisualTreeHelper.IsVisualType(dd) ? VisualTreeHelper.GetParent(dd) as ContentPresenter : null; 518DependencyObject layout = (v != null) ? VisualTreeHelper.GetParent(v) : null;
MS\Internal\Documents\DocumentGrid.cs (2)
1318if (VisualTreeHelper.GetParent(this) != null) 2665currentVisual = VisualTreeHelper.GetParent(currentVisual);
MS\Internal\Documents\DocumentPageHost.cs (4)
52Visual currentParent = VisualTreeHelper.GetParent(pageVisual) as Visual; 58DocumentPageHost docPageHost = VisualTreeHelper.GetParent(pageVisualHost) as DocumentPageHost; 89pageVisualHost = VisualTreeHelper.GetParent(_pageVisual) as ContainerVisual; 128return VisualTreeHelper.GetParent(_pageVisual) as Visual;
MS\Internal\Documents\DocumentViewerHelper.cs (2)
456Visual visual = VisualTreeHelper.GetParent(originalVisual) as Visual; 476visual = VisualTreeHelper.GetParent(visual) as Visual;
MS\Internal\Documents\TextDocumentView.cs (1)
560visual = VisualTreeHelper.GetParent(visual) as Visual;
MS\Internal\Documents\UIElementIsland.cs (1)
41Visual currentParent = VisualTreeHelper.GetParent(_child) as Visual;
MS\Internal\FrameworkObject.cs (7)
314fo.Reset(VisualTreeHelper.GetParent(visual)); 322fo.Reset(VisualTreeHelper.GetParent(visual3D)); 407parent = VisualTreeHelper.GetParent(_fe); 421parent = VisualTreeHelper.GetParent(visual); 429parent = VisualTreeHelper.GetParent(visual3D); 868visualParent = VisualTreeHelper.GetParent(_fe); 877visualParent = (visual != null) ? VisualTreeHelper.GetParent(visual) : null;
MS\Internal\Helper.cs (4)
456parent = VisualTreeHelper.GetParent(v); 1310element = VisualTreeHelper.GetParent(element); 1379element = VisualTreeHelper.GetParent(element); 1456parent = VisualTreeHelper.GetParent(element);
MS\Internal\Ink\InkCanvasSelection.cs (3)
153Debug.Assert(VisualTreeHelper.GetParent(feedbackAdorner) == null, 168Debug.Assert(VisualTreeHelper.GetParent(_inkCanvas.FeedbackAdorner) 186Debug.Assert(VisualTreeHelper.GetParent(feedbackAdorner) == adornerLayer,
MS\Internal\PtsHost\Line.cs (1)
425Visual currentParent = VisualTreeHelper.GetParent(inlineObject.UIElementIsland) as Visual;
MS\Internal\PtsHost\PtsHelper.cs (1)
273Visual currentParent = VisualTreeHelper.GetParent(paraClient.Visual) as Visual;
MS\Internal\PtsHost\TableParaClient.cs (4)
1579|| VisualTreeHelper.GetParent(cellParaClient.Visual) == null ) 1581Visual currentParent = VisualTreeHelper.GetParent(cellParaClient.Visual) as Visual; 1595&& VisualTreeHelper.GetParent(cellParaClient.Visual) != null ); 1724&& VisualTreeHelper.GetParent(cellParaClient.Visual) != null );
MS\Internal\PtsHost\UIElementParaClient.cs (1)
118Visual currentParent = VisualTreeHelper.GetParent(uiElementIsland) as Visual;
MS\Internal\Text\ComplexLine.cs (1)
172Visual currentParent = VisualTreeHelper.GetParent(inlineObject.Element) as Visual;
System\Windows\Automation\Peers\DocumentAutomationPeer.cs (1)
266visual = VisualTreeHelper.GetParent(visual) as Visual;
System\Windows\Automation\Peers\TextElementAutomationPeer.cs (1)
200visual = VisualTreeHelper.GetParent(visual) as Visual;
System\Windows\BroadcastEventHelper.cs (3)
638DependencyObject coreParent = (fo.IsFE) ? VisualTreeHelper.GetParent(fo.FE) : null; 702coreParent = VisualTreeHelper.GetParent(v); 710coreParent = VisualTreeHelper.GetParent(v3D);
System\Windows\Controls\AdornedElementPlaceholder.cs (1)
232_templatedAdorner = VisualTreeHelper.GetParent(templateParent) as TemplatedAdorner;
System\Windows\Controls\Canvas.cs (1)
199Canvas p = VisualTreeHelper.GetParent(uie) as Canvas;
System\Windows\Controls\ComboBox.cs (2)
240if (comboBox._clonedElement != null && VisualTreeHelper.GetParent(comboBox._clonedElement) == null) 932DependencyObject parent = VisualTreeHelper.GetParent(_clonedElement);
System\Windows\Controls\DataGrid.cs (3)
6389sourceElement = VisualTreeHelper.GetParent(sourceElement) as UIElement; 6621element = VisualTreeHelper.GetParent(row) as UIElement; 6642element = VisualTreeHelper.GetParent(cell) as UIElement;
System\Windows\Controls\DataGridCellsPanel.cs (4)
87UIElement parent = VisualTreeHelper.GetParent(this) as UIElement; 715if (isRecycled && VisualTreeHelper.GetParent(container) != null) 737if (isRecycled && VisualTreeHelper.GetParent(container) != null) 1861return VisualTreeHelper.GetParent(row) as DataGridRowsPresenter;
System\Windows\Controls\DataGridHelper.cs (2)
185parent = VisualTreeHelper.GetParent(parent) as UIElement; 310return VisualTreeHelper.GetParent(element) as DataGridCellsPanel;
System\Windows\Controls\DockPanel.cs (1)
130DockPanel p = VisualTreeHelper.GetParent(uie) as DockPanel;
System\Windows\Controls\Grid.cs (2)
2989Grid grid = VisualTreeHelper.GetParent(child) as Grid; 4001Grid grid = VisualTreeHelper.GetParent(this) as Grid;
System\Windows\Controls\GridSplitter.cs (1)
481AdornerLayer layer = VisualTreeHelper.GetParent(_resizeData.Adorner) as AdornerLayer;
System\Windows\Controls\GridViewHeaderRowPresenter.cs (1)
927Visual parent = VisualTreeHelper.GetParent(headerAsVisual) as Visual;
System\Windows\Controls\GroupItem.cs (2)
380parent = VisualTreeHelper.GetParent(parent); 396DependencyObject parentPanel = VisualTreeHelper.GetParent(this);
System\Windows\Controls\InkCanvas.cs (1)
567InkCanvasInnerCanvas p = VisualTreeHelper.GetParent(uie) as InkCanvasInnerCanvas;
System\Windows\Controls\ItemsControl.cs (8)
1185ui = VisualTreeHelper.GetParent(ui) as UIElement; 1340Visual parent = VisualTreeHelper.GetParent(visual) as Visual; 2001DependencyObject startingParent = VisualTreeHelper.GetParent(startingElement); 2011startingParent = VisualTreeHelper.GetParent(startingParent); 3104Visual parent = VisualTreeHelper.GetParent(element) as Visual; 3328for (DependencyObject current = _itemsHost; current != this && current != null; current = VisualTreeHelper.GetParent(current)) 3431element = VisualTreeHelper.GetParent(element) as FrameworkElement; 3460element = VisualTreeHelper.GetParent(element) as FrameworkElement;
System\Windows\Controls\ItemsPresenter.cs (3)
181Visual parent = VisualTreeHelper.GetParent(groupItem) as Visual; 185return VisualTreeHelper.GetParent(parent) as ItemsPresenter; 290ScrollContentPresenter scp = VisualTreeHelper.GetParent(this) as ScrollContentPresenter;
System\Windows\Controls\ListBoxItem.cs (1)
339if (VisualTreeHelper.GetParent(this) == null)
System\Windows\Controls\MenuItem.cs (1)
2319owner = VisualTreeHelper.GetParent(this) as ItemsControl;
System\Windows\Controls\Page.cs (1)
653Visual visualParent = VisualTreeHelper.GetParent(this) as Visual;
System\Windows\Controls\PopupControlService.cs (1)
1106return VisualTreeHelper.GetParent(v);
System\Windows\Controls\Primitives\ButtonBase.cs (1)
96return focusScope == null || VisualTreeHelper.GetParent(focusScope) == null;
System\Windows\Controls\Primitives\DocumentPageView.cs (2)
925visualParent = VisualTreeHelper.GetParent(this) as Visual; 933visualParent = VisualTreeHelper.GetParent(visualParent) as Visual;
System\Windows\Controls\Primitives\Popup.cs (10)
256if (newValue == null && VisualTreeHelper.GetParent(this) == null) 264if (VisualTreeHelper.GetParent(this) == null) 319if (!popup.IsLoaded && VisualTreeHelper.GetParent(popup) != null) 727parent = VisualTreeHelper.GetParent(parent); 905if ((currentParent = VisualTreeHelper.GetParent(child)) != null) 978if (logicalParent == null && VisualTreeHelper.GetParent(element) != null) 1423while ((parent = VisualTreeHelper.GetParent(root)) != null) 1437targetVisual = VisualTreeHelper.GetContainingVisual2D(VisualTreeHelper.GetParent(this)); 1813DependencyObject parent = VisualTreeHelper.GetParent(this); 3285dependencyObject = VisualTreeHelper.GetParent(dependencyObject);
System\Windows\Controls\Primitives\TextBoxBase.cs (1)
1685visual = VisualTreeHelper.GetParent(visual) as Visual;
System\Windows\Controls\Primitives\ToolBarPanel.cs (2)
83DependencyObject visualParent = VisualTreeHelper.GetParent(child); 439DependencyObject visualParent = VisualTreeHelper.GetParent(child);
System\Windows\Controls\Stack.cs (2)
855DependencyObject parent = VisualTreeHelper.GetParent(child); 860parent = VisualTreeHelper.GetParent(dependencyObjectChild);
System\Windows\Controls\StickyNote.cs (1)
993FrameworkElement parent = VisualTreeHelper.GetParent(Content.InnerControl) as FrameworkElement;
System\Windows\Controls\TabControl.cs (1)
565FrameworkElement visualParent = VisualTreeHelper.GetParent(tabItem) as FrameworkElement;
System\Windows\Controls\TextAdaptor.cs (3)
265visual = VisualTreeHelper.GetParent(visual) as Visual; 348Visual visual = VisualTreeHelper.GetParent(textView.RenderScope) as Visual; 369visual = VisualTreeHelper.GetParent(visual) as Visual;
System\Windows\Controls\ToolBar.cs (1)
650Panel itemsHost = VisualTreeHelper.GetParent(currentFocusElement) as Panel;
System\Windows\Controls\TreeView.cs (1)
834return VisualTreeHelper.GetParent(v);
System\Windows\Controls\TreeViewItem.cs (2)
482if (VisualTreeHelper.GetParent(this) != null) 839FrameworkElement parent = VisualTreeHelper.GetParent(toggleButton) as FrameworkElement;
System\Windows\Controls\VirtualizingPanel.cs (1)
355ItemsPresenter itemsPresenter = VisualTreeHelper.GetParent(p) as ItemsPresenter;
System\Windows\Controls\VirtualizingStackPanel.cs (14)
1099DependencyObject parent = VisualTreeHelper.GetParent(element); 3123Panel parentPanel = (itemsOwner != null) ? VisualTreeHelper.GetParent(itemsOwner) as Panel : null; 3751VirtualizingPanel vp = VisualTreeHelper.GetParent(itemsOwner) as VirtualizingPanel; 4105VirtualizingPanel virtualizingPanel = VisualTreeHelper.GetParent(element) as VirtualizingPanel; 4187parentItemsControl = ItemsControl.GetItemsOwnerInternal(VisualTreeHelper.GetParent(itemsControl)) as ItemsControl; 4205ItemsControl.GetItemsOwnerInternal(VisualTreeHelper.GetParent(itemsOwner)) as IContainItemStorage; 6583parent = VisualTreeHelper.GetParent(parent); 11039DependencyObject element = VisualTreeHelper.GetParent(child); 11113ItemsControl.GetItemsOwnerInternal(VisualTreeHelper.GetParent((Visual)itemStorageProvider)) as IContainItemStorage; 11130element = VisualTreeHelper.GetParent(element); 11146DependencyObject parent = VisualTreeHelper.GetParent(child); 11154parent = VisualTreeHelper.GetParent(child); 12182VirtualizingStackPanel parent = VisualTreeHelper.GetParent(itemsOwner) as VirtualizingStackPanel; 13052VirtualizingStackPanel vsp = VisualTreeHelper.GetParent(container) as VirtualizingStackPanel;
System\Windows\DescendentsWalker.cs (3)
268if (VisualTreeHelper.GetParent(fe) != fe.Parent) 325if (VisualTreeHelper.GetParent(child) != fe.Parent) 378DependencyObject dependencyObjectParent = VisualTreeHelper.GetParent(fe);
System\Windows\DescendentsWalkerBase.cs (1)
45DependencyObject dependencyObjectParent = VisualTreeHelper.GetParent(fe);
System\Windows\Documents\AdornerDecorator.cs (2)
125if (VisualTreeHelper.GetParent(_adornerLayer) != null) 144if (VisualTreeHelper.GetParent(_adornerLayer) != null)
System\Windows\Documents\AdornerLayer.cs (7)
296visual = (Visual)VisualTreeHelper.GetParent(visual); 316Visual parent = VisualTreeHelper.GetParent(visual) as Visual; 325parent = VisualTreeHelper.GetParent(parent) as Visual; 706Visual adornerLayerParent = VisualTreeHelper.GetParent(this) as Visual; 768Visual adornerLayerParent = VisualTreeHelper.GetParent(this) as Visual; 828Visual adornerLayerParent = VisualTreeHelper.GetParent(this) as Visual; 864element = (Visual)VisualTreeHelper.GetParent(element);
System\windows\Documents\CaretElement.cs (1)
850node = VisualTreeHelper.GetParent(node);
System\Windows\Documents\ColumnResizeAdorner.cs (1)
129adornerLayer = VisualTreeHelper.GetParent(this) as AdornerLayer;
System\Windows\Documents\CompositionAdorner.cs (2)
130Visual parent2d = VisualTreeHelper.GetParent(this.AdornedElement) as Visual; 351AdornerLayer adornerLayer = VisualTreeHelper.GetParent(this) as AdornerLayer;
System\Windows\Documents\DocumentSequenceTextView.cs (1)
505visual = VisualTreeHelper.GetParent(visual) as Visual;
System\Windows\Documents\FixedTextView.cs (2)
692visual = VisualTreeHelper.GetParent(visual) as Visual; 792v = VisualTreeHelper.GetParent(v);
System\Windows\Documents\FlowDocument.cs (1)
911parentOfEmbeddedElement = VisualTreeHelper.GetParent((Visual)element);
System\windows\Documents\TextEditorContextMenu.cs (1)
286for (Visual visual = This.UiScope; visual != null; visual = VisualTreeHelper.GetParent(visual) as Visual)
System\windows\Documents\TextEditorMouse.cs (3)
621Visual scrollViewer = VisualTreeHelper.GetParent(This.UiScope) as Visual; 624scrollViewer = VisualTreeHelper.GetParent(scrollViewer) as Visual; 810hitElement = VisualTreeHelper.GetParent(hitElement);
System\windows\Documents\TextSelection.cs (3)
2468element = VisualTreeHelper.GetParent(element); 2586parent = VisualTreeHelper.GetParent(element); 2592parent = VisualTreeHelper.GetParent(element);
System\Windows\FrameworkElement.cs (10)
2225for (Visual v = VisualTreeHelper.GetParent(this) as Visual; 2227v = VisualTreeHelper.GetParent(v) as Visual) 2548FrameworkElement.GetContainingFrameworkElement(VisualTreeHelper.GetParent(this), out feParent, out fceParent); 2560BroadcastEventHelper.AddOrRemoveHasLoadedChangeHandlerFlag(this, null, VisualTreeHelper.GetParent(e.Ancestor)); 2563BroadcastEventHelper.BroadcastLoadedOrUnloadedEvent(this, null, VisualTreeHelper.GetParent(e.Ancestor)); 2902DependencyObject visualParent = VisualTreeHelper.GetParent(this); 3117DependencyObject visualParent = VisualTreeHelper.GetParent(this); 3980DependencyObject parentVisual = VisualTreeHelper.GetParent(fe); 4016for (DependencyObject v = visual; v != null; v = VisualTreeHelper.GetParent(v)) 5546fe._parent == null && VisualTreeHelper.GetParent(fe) == null &&
System\Windows\Generated\FrameworkElement.cs (2)
712parent = VisualTreeHelper.GetParent(this); 746parent = VisualTreeHelper.GetParent(this);
System\Windows\Input\KeyboardNavigation.cs (4)
680if (_adornedContentElement != null && (_contentHostParent==null || VisualTreeHelper.GetParent(_contentHostParent as Visual) == null)) 792visualParent = VisualTreeHelper.GetParent(visualParent) as Visual; 812AdornerLayer adornerlayer = VisualTreeHelper.GetParent(_focusVisualAdornerCache) as AdornerLayer; 1763while ((visual = VisualTreeHelper.GetParent(visual)) != null)
System\Windows\StyleHelper.cs (2)
1968FrameworkElement parent = VisualTreeHelper.GetParent(child) as FrameworkElement; 1977Debug.Assert( null == VisualTreeHelper.GetParent(child),
System\Windows\TreeWalkHelper.cs (1)
1019DependencyObject visualParent = VisualTreeHelper.GetParent(d);
System\Windows\Window.cs (1)
1809if ( VisualTreeHelper.GetParent(this) != null )
System.Windows.Controls.Ribbon (11)
Microsoft\Windows\Controls\Generated\TreeHelper.cs (2)
30return VisualTreeHelper.GetParent(element); 42parent = VisualTreeHelper.GetParent(element);
Microsoft\Windows\Controls\KeyTipService.cs (2)
1312Visual parent = VisualTreeHelper.GetParent(visual) as Visual; 1340parent = VisualTreeHelper.GetParent(parent) as Visual;
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonQuickAccessToolBarPanel.cs (1)
254UIElement parent = VisualTreeHelper.GetParent(this) as UIElement;
Microsoft\Windows\Controls\Ribbon\RibbonComboBox.cs (1)
567DependencyObject parent = VisualTreeHelper.GetParent(_clonedElement);
Microsoft\Windows\Controls\Ribbon\RibbonGroup.cs (1)
211RibbonGroupsPanel groupsPanel = VisualTreeHelper.GetParent(this) as RibbonGroupsPanel;
Microsoft\Windows\Controls\Ribbon\RibbonSeparator.cs (1)
110DependencyObject newParent = VisualTreeHelper.GetParent(this);
Microsoft\Windows\Controls\Ribbon\RibbonTabHeader.cs (1)
526Panel parentPanel = VisualTreeHelper.GetParent(this) as Panel;
Microsoft\Windows\Controls\Ribbon\RibbonToolTip.cs (2)
300DependencyObject visualParent = VisualTreeHelper.GetParent(element); 365element = VisualTreeHelper.GetParent(element);
WindowsFormsIntegration (6)
System\Windows\Integration\HostUtils.cs (3)
95current = VisualTreeHelper.GetParent(current); 219current = VisualTreeHelper.GetParent(current); 436currentObject = VisualTreeHelper.GetParent(currentObject);
System\Windows\Integration\WindowsFormsHost.cs (2)
166{ element = VisualTreeHelper.GetParent(element); } 404DependencyObject parentElement = VisualTreeHelper.GetParent(frameworkElement);
System\Windows\Integration\WindowsFormsHostPropertyMap.cs (1)
69parent = VisualTreeHelper.GetParent(parent);