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)
45return VisualTreeHelper.GetParent(el) as Visual; 73Visual parent = VisualTreeHelper.GetParent(el) as Visual; 87Visual parent = VisualTreeHelper.GetParent(el) as Visual; 103Visual test = VisualTreeHelper.GetParent(scan) as Visual;
MS\Internal\DeferredElementTreeState.cs (2)
34parent = VisualTreeHelper.GetParent(v); 48parent = VisualTreeHelper.GetParent(v3D);
MS\Internal\Ink\Renderer.cs (5)
360= VisualTreeHelper.GetParent(visual) as ContainerVisual; 577&& (VisualTreeHelper.GetParent(precedingVisual) != null)) 579VisualCollection children = ((ContainerVisual)(VisualTreeHelper.GetParent(precedingVisual))).Children; 601ContainerVisual parent = (ContainerVisual)(VisualTreeHelper.GetParent(visual)); 668else if (VisualTreeHelper.GetParent(hcVisual) == null)
MS\Internal\Media3D\M3DUtil.cs (1)
536dependencyObject = VisualTreeHelper.GetParent(dependencyObject);
MS\Internal\UIElementHelper.cs (1)
78reference = VisualTreeHelper.GetParent(reference);
System\Windows\Automation\Peers\UIElement3DAutomationPeer.cs (1)
247reference = VisualTreeHelper.GetParent(reference);
System\Windows\Automation\Peers\UIElementAutomationPeer.cs (2)
264DependencyObject parent = VisualTreeHelper.GetParent(owner); 294parent = VisualTreeHelper.GetParent(parent);
System\Windows\Diagnostics\VisualDiagnostics.cs (1)
126isPotentialOuterChange: (changeType==VisualTreeChangeType.Add && index==0 && VisualTreeHelper.GetParent(parent) == null));
System\Windows\Input\FocusManager.cs (2)
320dependencyObject = VisualTreeHelper.GetParent(dependencyObject); 373DependencyObject visualParent = VisualTreeHelper.GetParent(d);
System\Windows\Input\InputElement.cs (5)
60DependencyObject parent = VisualTreeHelper.GetParent(v); 68DependencyObject parent = VisualTreeHelper.GetParent(v3D); 108DependencyObject parent = VisualTreeHelper.GetParent(v); 116DependencyObject parent = VisualTreeHelper.GetParent(v3D); 190while(rootVisual != null && ((parentVisual = VisualTreeHelper.GetParent(rootVisual)) != null))
System\Windows\Input\Manipulation.cs (1)
303visual = VisualTreeHelper.GetParent(visual) as Visual;
System\Windows\Input\TouchDevice.cs (1)
1201currentChild = VisualTreeHelper.GetParent(currentChild);
System\Windows\Media\BitmapCacheBrush.cs (4)
201((VisualTreeHelper.GetParent(element) == null && !(element.IsRootElement)) // element is not connected to visual tree, OR 202|| (VisualTreeHelper.GetParent(element) is Visual3D) // element is a 2D child of a 3D object, OR 203|| (VisualTreeHelper.GetParent(element) == InternalTarget))) // element is only connected to visual tree via our wrapper Visual 256DependencyObject parent = VisualTreeHelper.GetParent(element);
System\Windows\Media\Visual.cs (3)
4490while ((VisualTreeHelper.GetParent(g) != null) && (g != ancestor)) 5090e = VisualTreeHelper.GetParent(e); 5159e = VisualTreeHelper.GetParent(e);
System\Windows\Media\VisualBrush.cs (3)
183((VisualTreeHelper.GetParent(element) == null && !(element.IsRootElement)) 184|| (VisualTreeHelper.GetParent(element) is Visual3D))) 223DependencyObject parent = VisualTreeHelper.GetParent(element);
System\Windows\Media\VisualTreeHelper.cs (2)
177reference = VisualTreeHelper.GetParent(reference); 196reference = VisualTreeHelper.GetParent(reference);
System\Windows\Media3D\Visual3D.cs (4)
457Debug.Assert(VisualTreeHelper.GetParent(this) != null, "If oldParent is null, current parent should != null."); 462VisualTreeHelper.GetParent(this), 1672while ((VisualTreeHelper.GetParent(g) != null) && (g != ancestor)) 1681g = VisualTreeHelper.GetParent(gAsVisual3D);
System\Windows\Navigation\BaseUriHelper.cs (1)
585doCurrent = VisualTreeHelper.GetParent(vis);
System\Windows\UIElement.cs (4)
717for(Visual v = VisualTreeHelper.GetParent(this) as Visual; v != null; v = VisualTreeHelper.GetParent(v) as Visual) 735for(Visual v = VisualTreeHelper.GetParent(this) as Visual; v != null; v = VisualTreeHelper.GetParent(v) as Visual)
PresentationFramework (171)
MS\Internal\Annotations\Anchoring\PathNode.cs (1)
227parent = VisualTreeHelper.GetParent(visual);
MS\Internal\Annotations\Component\AdornerPresentationContext.cs (1)
142Visual parent = VisualTreeHelper.GetParent(_adornerLayer) as Visual;
MS\Internal\Annotations\Component\AnnotationAdorner.cs (1)
174AdornerLayer adornerLayer = (AdornerLayer)VisualTreeHelper.GetParent(this);
MS\Internal\Controls\InkCanvasFeedbackAdorner.cs (2)
114UIElement parent = ((UIElement)VisualTreeHelper.GetParent(this)) as UIElement; 118((UIElement)VisualTreeHelper.GetParent(this)).InvalidateArrange();
MS\Internal\Controls\InkCanvasInnerCanvas.cs (1)
272DependencyObject parent = VisualTreeHelper.GetParent(currentObject);
MS\Internal\Data\ObjectRef.cs (2)
260ContentPresenter cp = VisualTreeHelper.IsVisualType(dd) ? VisualTreeHelper.GetParent(dd) as ContentPresenter : null; 511DependencyObject layout = (v != null) ? VisualTreeHelper.GetParent(v) : null;
MS\Internal\Documents\DocumentGrid.cs (2)
1310if (VisualTreeHelper.GetParent(this) != null) 2650currentVisual = VisualTreeHelper.GetParent(currentVisual);
MS\Internal\Documents\DocumentPageHost.cs (4)
50Visual currentParent = VisualTreeHelper.GetParent(pageVisual) as Visual; 56DocumentPageHost docPageHost = VisualTreeHelper.GetParent(pageVisualHost) as DocumentPageHost; 87pageVisualHost = VisualTreeHelper.GetParent(_pageVisual) as ContainerVisual; 126return VisualTreeHelper.GetParent(_pageVisual) as Visual;
MS\Internal\Documents\DocumentViewerHelper.cs (2)
453Visual visual = VisualTreeHelper.GetParent(originalVisual) as Visual; 473visual = VisualTreeHelper.GetParent(visual) as Visual;
MS\Internal\Documents\TextDocumentView.cs (1)
556visual = VisualTreeHelper.GetParent(visual) as Visual;
MS\Internal\Documents\UIElementIsland.cs (1)
38Visual currentParent = VisualTreeHelper.GetParent(_child) as Visual;
MS\Internal\FrameworkObject.cs (7)
310fo.Reset(VisualTreeHelper.GetParent(visual)); 318fo.Reset(VisualTreeHelper.GetParent(visual3D)); 403parent = VisualTreeHelper.GetParent(_fe); 417parent = VisualTreeHelper.GetParent(visual); 425parent = VisualTreeHelper.GetParent(visual3D); 864visualParent = VisualTreeHelper.GetParent(_fe); 873visualParent = (visual != null) ? VisualTreeHelper.GetParent(visual) : null;
MS\Internal\Helper.cs (4)
446parent = VisualTreeHelper.GetParent(v); 1294element = VisualTreeHelper.GetParent(element); 1363element = VisualTreeHelper.GetParent(element); 1440parent = VisualTreeHelper.GetParent(element);
MS\Internal\Ink\InkCanvasSelection.cs (3)
140Debug.Assert(VisualTreeHelper.GetParent(feedbackAdorner) == null, 155Debug.Assert(VisualTreeHelper.GetParent(_inkCanvas.FeedbackAdorner) 173Debug.Assert(VisualTreeHelper.GetParent(feedbackAdorner) == adornerLayer,
MS\Internal\PtsHost\Line.cs (1)
406Visual currentParent = VisualTreeHelper.GetParent(inlineObject.UIElementIsland) as Visual;
MS\Internal\PtsHost\PtsHelper.cs (1)
267Visual currentParent = VisualTreeHelper.GetParent(paraClient.Visual) as Visual;
MS\Internal\PtsHost\TableParaClient.cs (4)
1572|| VisualTreeHelper.GetParent(cellParaClient.Visual) == null ) 1574Visual currentParent = VisualTreeHelper.GetParent(cellParaClient.Visual) as Visual; 1588&& VisualTreeHelper.GetParent(cellParaClient.Visual) != null ); 1717&& VisualTreeHelper.GetParent(cellParaClient.Visual) != null );
MS\Internal\PtsHost\UIElementParaClient.cs (1)
113Visual currentParent = VisualTreeHelper.GetParent(uiElementIsland) as Visual;
MS\Internal\Text\ComplexLine.cs (1)
166Visual currentParent = VisualTreeHelper.GetParent(inlineObject.Element) as Visual;
System\Windows\Automation\Peers\DocumentAutomationPeer.cs (1)
263visual = VisualTreeHelper.GetParent(visual) as Visual;
System\Windows\Automation\Peers\TextElementAutomationPeer.cs (1)
195visual = VisualTreeHelper.GetParent(visual) as Visual;
System\Windows\BroadcastEventHelper.cs (3)
631DependencyObject coreParent = (fo.IsFE) ? VisualTreeHelper.GetParent(fo.FE) : null; 695coreParent = VisualTreeHelper.GetParent(v); 703coreParent = VisualTreeHelper.GetParent(v3D);
System\Windows\Controls\AdornedElementPlaceholder.cs (1)
222_templatedAdorner = VisualTreeHelper.GetParent(templateParent) as TemplatedAdorner;
System\Windows\Controls\Canvas.cs (1)
189Canvas p = VisualTreeHelper.GetParent(uie) as Canvas;
System\Windows\Controls\ComboBox.cs (2)
226if (comboBox._clonedElement != null && VisualTreeHelper.GetParent(comboBox._clonedElement) == null) 915DependencyObject parent = VisualTreeHelper.GetParent(_clonedElement);
System\Windows\Controls\DataGrid.cs (3)
6344sourceElement = VisualTreeHelper.GetParent(sourceElement) as UIElement; 6576element = VisualTreeHelper.GetParent(row) as UIElement; 6597element = VisualTreeHelper.GetParent(cell) as UIElement;
System\Windows\Controls\DataGridCellsPanel.cs (4)
82UIElement parent = VisualTreeHelper.GetParent(this) as UIElement; 709if (isRecycled && VisualTreeHelper.GetParent(container) != null) 731if (isRecycled && VisualTreeHelper.GetParent(container) != null) 1851return VisualTreeHelper.GetParent(row) as DataGridRowsPresenter;
System\Windows\Controls\DataGridHelper.cs (2)
178parent = VisualTreeHelper.GetParent(parent) as UIElement; 303return VisualTreeHelper.GetParent(element) as DataGridCellsPanel;
System\Windows\Controls\DockPanel.cs (1)
123DockPanel p = VisualTreeHelper.GetParent(uie) as DockPanel;
System\Windows\Controls\Grid.cs (2)
2972Grid grid = VisualTreeHelper.GetParent(child) as Grid; 3984Grid grid = VisualTreeHelper.GetParent(this) as Grid;
System\Windows\Controls\GridSplitter.cs (1)
478AdornerLayer layer = VisualTreeHelper.GetParent(_resizeData.Adorner) as AdornerLayer;
System\Windows\Controls\GridViewHeaderRowPresenter.cs (1)
923Visual parent = VisualTreeHelper.GetParent(headerAsVisual) as Visual;
System\Windows\Controls\GroupItem.cs (2)
368parent = VisualTreeHelper.GetParent(parent); 384DependencyObject parentPanel = VisualTreeHelper.GetParent(this);
System\Windows\Controls\InkCanvas.cs (1)
564InkCanvasInnerCanvas p = VisualTreeHelper.GetParent(uie) as InkCanvasInnerCanvas;
System\Windows\Controls\ItemsControl.cs (8)
1163ui = VisualTreeHelper.GetParent(ui) as UIElement; 1318Visual parent = VisualTreeHelper.GetParent(visual) as Visual; 1961DependencyObject startingParent = VisualTreeHelper.GetParent(startingElement); 1971startingParent = VisualTreeHelper.GetParent(startingParent); 3064Visual parent = VisualTreeHelper.GetParent(element) as Visual; 3288for (DependencyObject current = _itemsHost; current != this && current != null; current = VisualTreeHelper.GetParent(current)) 3391element = VisualTreeHelper.GetParent(element) as FrameworkElement; 3420element = VisualTreeHelper.GetParent(element) as FrameworkElement;
System\Windows\Controls\ItemsPresenter.cs (3)
176Visual parent = VisualTreeHelper.GetParent(groupItem) as Visual; 180return VisualTreeHelper.GetParent(parent) as ItemsPresenter; 285ScrollContentPresenter scp = VisualTreeHelper.GetParent(this) as ScrollContentPresenter;
System\Windows\Controls\ListBoxItem.cs (1)
325if (VisualTreeHelper.GetParent(this) == null)
System\Windows\Controls\MenuItem.cs (1)
2303owner = VisualTreeHelper.GetParent(this) as ItemsControl;
System\Windows\Controls\Page.cs (1)
629Visual visualParent = VisualTreeHelper.GetParent(this) as Visual;
System\Windows\Controls\PopupControlService.cs (1)
1102return VisualTreeHelper.GetParent(v);
System\Windows\Controls\Primitives\ButtonBase.cs (1)
84return focusScope == null || VisualTreeHelper.GetParent(focusScope) == null;
System\Windows\Controls\Primitives\DocumentPageView.cs (2)
918visualParent = VisualTreeHelper.GetParent(this) as Visual; 926visualParent = VisualTreeHelper.GetParent(visualParent) as Visual;
System\Windows\Controls\Primitives\Popup.cs (10)
244if (newValue == null && VisualTreeHelper.GetParent(this) == null) 252if (VisualTreeHelper.GetParent(this) == null) 307if (!popup.IsLoaded && VisualTreeHelper.GetParent(popup) != null) 715parent = VisualTreeHelper.GetParent(parent); 893if ((currentParent = VisualTreeHelper.GetParent(child)) != null) 984if (logicalParent == null && VisualTreeHelper.GetParent(element) != null) 1428while ((parent = VisualTreeHelper.GetParent(root)) != null) 1442targetVisual = VisualTreeHelper.GetContainingVisual2D(VisualTreeHelper.GetParent(this)); 1818DependencyObject parent = VisualTreeHelper.GetParent(this); 3286dependencyObject = VisualTreeHelper.GetParent(dependencyObject);
System\Windows\Controls\Primitives\TextBoxBase.cs (1)
1611visual = VisualTreeHelper.GetParent(visual) as Visual;
System\Windows\Controls\Primitives\ToolBarPanel.cs (2)
73DependencyObject visualParent = VisualTreeHelper.GetParent(child); 425DependencyObject visualParent = VisualTreeHelper.GetParent(child);
System\Windows\Controls\Stack.cs (2)
844DependencyObject parent = VisualTreeHelper.GetParent(child); 849parent = VisualTreeHelper.GetParent(dependencyObjectChild);
System\Windows\Controls\StickyNote.cs (1)
957FrameworkElement parent = VisualTreeHelper.GetParent(Content.InnerControl) as FrameworkElement;
System\Windows\Controls\TabControl.cs (1)
545FrameworkElement visualParent = VisualTreeHelper.GetParent(tabItem) as FrameworkElement;
System\Windows\Controls\TextAdaptor.cs (3)
261visual = VisualTreeHelper.GetParent(visual) as Visual; 338Visual visual = VisualTreeHelper.GetParent(textView.RenderScope) as Visual; 359visual = VisualTreeHelper.GetParent(visual) as Visual;
System\Windows\Controls\ToolBar.cs (1)
634Panel itemsHost = VisualTreeHelper.GetParent(currentFocusElement) as Panel;
System\Windows\Controls\TreeView.cs (1)
826return VisualTreeHelper.GetParent(v);
System\Windows\Controls\TreeViewItem.cs (2)
471if (VisualTreeHelper.GetParent(this) != null) 820FrameworkElement parent = VisualTreeHelper.GetParent(toggleButton) as FrameworkElement;
System\Windows\Controls\VirtualizingPanel.cs (1)
348ItemsPresenter itemsPresenter = VisualTreeHelper.GetParent(p) as ItemsPresenter;
System\Windows\Controls\VirtualizingStackPanel.cs (14)
1093DependencyObject parent = VisualTreeHelper.GetParent(element); 3106Panel parentPanel = (itemsOwner != null) ? VisualTreeHelper.GetParent(itemsOwner) as Panel : null; 3731VirtualizingPanel vp = VisualTreeHelper.GetParent(itemsOwner) as VirtualizingPanel; 4079VirtualizingPanel virtualizingPanel = VisualTreeHelper.GetParent(element) as VirtualizingPanel; 4161parentItemsControl = ItemsControl.GetItemsOwnerInternal(VisualTreeHelper.GetParent(itemsControl)) as ItemsControl; 4179ItemsControl.GetItemsOwnerInternal(VisualTreeHelper.GetParent(itemsOwner)) as IContainItemStorage; 6554parent = VisualTreeHelper.GetParent(parent); 11011DependencyObject element = VisualTreeHelper.GetParent(child); 11085ItemsControl.GetItemsOwnerInternal(VisualTreeHelper.GetParent((Visual)itemStorageProvider)) as IContainItemStorage; 11102element = VisualTreeHelper.GetParent(element); 11118DependencyObject parent = VisualTreeHelper.GetParent(child); 11126parent = VisualTreeHelper.GetParent(child); 12155VirtualizingStackPanel parent = VisualTreeHelper.GetParent(itemsOwner) as VirtualizingStackPanel; 13021VirtualizingStackPanel vsp = VisualTreeHelper.GetParent(container) as VirtualizingStackPanel;
System\Windows\DescendentsWalker.cs (3)
262if (VisualTreeHelper.GetParent(fe) != fe.Parent) 319if (VisualTreeHelper.GetParent(child) != fe.Parent) 372DependencyObject dependencyObjectParent = VisualTreeHelper.GetParent(fe);
System\Windows\DescendentsWalkerBase.cs (1)
40DependencyObject dependencyObjectParent = VisualTreeHelper.GetParent(fe);
System\Windows\Documents\AdornerDecorator.cs (2)
120if (VisualTreeHelper.GetParent(_adornerLayer) != null) 139if (VisualTreeHelper.GetParent(_adornerLayer) != null)
System\Windows\Documents\AdornerLayer.cs (7)
291visual = (Visual)VisualTreeHelper.GetParent(visual); 311Visual parent = VisualTreeHelper.GetParent(visual) as Visual; 320parent = VisualTreeHelper.GetParent(parent) as Visual; 703Visual adornerLayerParent = VisualTreeHelper.GetParent(this) as Visual; 765Visual adornerLayerParent = VisualTreeHelper.GetParent(this) as Visual; 825Visual adornerLayerParent = VisualTreeHelper.GetParent(this) as Visual; 863element = (Visual)VisualTreeHelper.GetParent(element);
System\windows\Documents\CaretElement.cs (1)
847node = VisualTreeHelper.GetParent(node);
System\Windows\Documents\ColumnResizeAdorner.cs (1)
120adornerLayer = VisualTreeHelper.GetParent(this) as AdornerLayer;
System\Windows\Documents\CompositionAdorner.cs (2)
126Visual parent2d = VisualTreeHelper.GetParent(this.AdornedElement) as Visual; 349AdornerLayer adornerLayer = VisualTreeHelper.GetParent(this) as AdornerLayer;
System\Windows\Documents\DocumentSequenceTextView.cs (1)
490visual = VisualTreeHelper.GetParent(visual) as Visual;
System\Windows\Documents\FixedTextView.cs (2)
678visual = VisualTreeHelper.GetParent(visual) as Visual; 778v = VisualTreeHelper.GetParent(v);
System\Windows\Documents\FlowDocument.cs (1)
907parentOfEmbeddedElement = VisualTreeHelper.GetParent((Visual)element);
System\windows\Documents\TextEditorContextMenu.cs (1)
283for (Visual visual = This.UiScope; visual != null; visual = VisualTreeHelper.GetParent(visual) as Visual)
System\windows\Documents\TextEditorMouse.cs (3)
603Visual scrollViewer = VisualTreeHelper.GetParent(This.UiScope) as Visual; 606scrollViewer = VisualTreeHelper.GetParent(scrollViewer) as Visual; 792hitElement = VisualTreeHelper.GetParent(hitElement);
System\windows\Documents\TextSelection.cs (3)
2451element = VisualTreeHelper.GetParent(element); 2569parent = VisualTreeHelper.GetParent(element); 2575parent = VisualTreeHelper.GetParent(element);
System\Windows\FrameworkElement.cs (10)
2205for (Visual v = VisualTreeHelper.GetParent(this) as Visual; 2207v = VisualTreeHelper.GetParent(v) as Visual) 2528FrameworkElement.GetContainingFrameworkElement(VisualTreeHelper.GetParent(this), out feParent, out fceParent); 2540BroadcastEventHelper.AddOrRemoveHasLoadedChangeHandlerFlag(this, null, VisualTreeHelper.GetParent(e.Ancestor)); 2543BroadcastEventHelper.BroadcastLoadedOrUnloadedEvent(this, null, VisualTreeHelper.GetParent(e.Ancestor)); 2882DependencyObject visualParent = VisualTreeHelper.GetParent(this); 3094DependencyObject visualParent = VisualTreeHelper.GetParent(this); 3959DependencyObject parentVisual = VisualTreeHelper.GetParent(fe); 3995for (DependencyObject v = visual; v != null; v = VisualTreeHelper.GetParent(v)) 5533fe._parent == null && VisualTreeHelper.GetParent(fe) == null &&
System\Windows\Generated\FrameworkElement.cs (2)
703parent = VisualTreeHelper.GetParent(this); 737parent = VisualTreeHelper.GetParent(this);
System\Windows\Input\KeyboardNavigation.cs (4)
673if (_adornedContentElement != null && (_contentHostParent==null || VisualTreeHelper.GetParent(_contentHostParent as Visual) == null)) 784visualParent = VisualTreeHelper.GetParent(visualParent) as Visual; 804AdornerLayer adornerlayer = VisualTreeHelper.GetParent(_focusVisualAdornerCache) as AdornerLayer; 1751while ((visual = VisualTreeHelper.GetParent(visual)) != null)
System\Windows\StyleHelper.cs (2)
1959FrameworkElement parent = VisualTreeHelper.GetParent(child) as FrameworkElement; 1968Debug.Assert( null == VisualTreeHelper.GetParent(child),
System\Windows\TreeWalkHelper.cs (1)
1011DependencyObject visualParent = VisualTreeHelper.GetParent(d);
System\Windows\Window.cs (1)
1781if ( VisualTreeHelper.GetParent(this) != null )
System.Windows.Controls.Ribbon (11)
Microsoft\Windows\Controls\Generated\TreeHelper.cs (2)
29return VisualTreeHelper.GetParent(element); 41parent = VisualTreeHelper.GetParent(element);
Microsoft\Windows\Controls\KeyTipService.cs (2)
1304Visual parent = VisualTreeHelper.GetParent(visual) as Visual; 1332parent = VisualTreeHelper.GetParent(parent) as Visual;
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonQuickAccessToolBarPanel.cs (1)
247UIElement parent = VisualTreeHelper.GetParent(this) as UIElement;
Microsoft\Windows\Controls\Ribbon\RibbonComboBox.cs (1)
565DependencyObject parent = VisualTreeHelper.GetParent(_clonedElement);
Microsoft\Windows\Controls\Ribbon\RibbonGroup.cs (1)
207RibbonGroupsPanel groupsPanel = VisualTreeHelper.GetParent(this) as RibbonGroupsPanel;
Microsoft\Windows\Controls\Ribbon\RibbonSeparator.cs (1)
106DependencyObject newParent = VisualTreeHelper.GetParent(this);
Microsoft\Windows\Controls\Ribbon\RibbonTabHeader.cs (1)
523Panel parentPanel = VisualTreeHelper.GetParent(this) as Panel;
Microsoft\Windows\Controls\Ribbon\RibbonToolTip.cs (2)
296DependencyObject visualParent = VisualTreeHelper.GetParent(element); 361element = VisualTreeHelper.GetParent(element);
WindowsFormsIntegration (6)
System\Windows\Integration\HostUtils.cs (3)
90current = VisualTreeHelper.GetParent(current); 214current = VisualTreeHelper.GetParent(current); 431currentObject = VisualTreeHelper.GetParent(currentObject);
System\Windows\Integration\WindowsFormsHost.cs (2)
163{ element = VisualTreeHelper.GetParent(element); } 395DependencyObject parentElement = VisualTreeHelper.GetParent(frameworkElement);
System\Windows\Integration\WindowsFormsHostPropertyMap.cs (1)
67parent = VisualTreeHelper.GetParent(parent);