5 references to GetContainingUIElement
System.Windows.Controls.Ribbon (5)
Microsoft\Windows\Controls\KeyTipService.cs (2)
1360UIElement uie = RibbonHelper.GetContainingUIElement(element); 1385UIElement adornedElement = RibbonHelper.GetContainingUIElement(activatingEventArgs.PlacementTarget == null ? element : activatingEventArgs.PlacementTarget);
Microsoft\Windows\Controls\Ribbon\RibbonGallery.cs (1)
2727UIElement focusContainer = RibbonHelper.GetContainingUIElement(focusedElement);
Microsoft\Windows\Controls\Ribbon\RibbonGroup.cs (1)
1682placementTarget = RibbonHelper.GetContainingUIElement(e.OriginalSource as DependencyObject);
Microsoft\Windows\Controls\Ribbon\RibbonHelper.cs (1)
2599return GetContainingUIElement(parent);