33 references to AdornedElement
PresentationFramework (32)
MS\Internal\Controls\InkCanvasSelectionAdorner.cs (2)
319if (count == 1 && ((InkCanvasInnerCanvas)AdornedElement).InkCanvas.GetSelectedStrokes().Count == 0) 422Rect selectionRect = ((InkCanvasInnerCanvas)AdornedElement).InkCanvas.GetSelectionBounds();
MS\Internal\Controls\TemplatedAdorner.cs (4)
144if (ReferenceElement != null && AdornedElement != null && 145AdornedElement.IsMeasureValid && 146!DoubleUtil.AreClose(ReferenceElement.DesiredSize, AdornedElement.DesiredSize) 180Visibility desired = AdornedElement.IsVisible ? Visibility.Visible : Visibility.Collapsed;
System\Windows\Controls\AdornedElementPlaceholder.cs (1)
97return adorner == null ? null : TemplatedAdorner.AdornedElement;
System\Windows\Documents\Adorner.cs (4)
74desiredSize = new Size(AdornedElement.RenderSize.Width, AdornedElement.RenderSize.Height); 218binding.Source = adorner.AdornedElement; 230return !DoubleUtil.AreClose(AdornedElement.RenderSize, oldSize);
System\Windows\Documents\AdornerLayer.cs (8)
186ArrayList adornerInfos = ElementMap[adorner.AdornedElement] as ArrayList; 201RemoveAdornerInfo(ElementMap, adorner, adorner.AdornedElement); 520AddAdornerInfo(ElementMap, adornerInfo, adorner.AdornedElement); 526UpdateAdorner(adorner.AdornedElement); 562ArrayList adornerInfos = ElementMap[adorner.AdornedElement] as ArrayList; 578UpdateAdorner(adorner.AdornedElement); 588ArrayList adornerInfos = ElementMap[adorner.AdornedElement] as ArrayList; 734clip = GetClipGeometry(adornerInfo.Adorner.AdornedElement, adornerInfo.Adorner);
System\windows\Documents\CaretElement.cs (4)
555Adorner[] adorners = adornerLayer.GetAdorners(this.AdornedElement); 566adornerLayer.Update(this.AdornedElement); 664FlowDirection flowDirection = (FlowDirection)AdornedElement.GetValue(FlowDirectionProperty); 709FlowDirection flowDirection = (FlowDirection)AdornedElement.GetValue(FlowDirectionProperty);
System\Windows\Documents\ColumnResizeAdorner.cs (1)
133adornerLayer.Update(AdornedElement);
System\Windows\Documents\CompositionAdorner.cs (3)
130Visual parent2d = VisualTreeHelper.GetParent(this.AdornedElement) as Visual; 136GeneralTransform transform = AdornedElement.TransformToAncestor(parent2d); 354adornerLayer.Update(AdornedElement);
System\Windows\Input\KeyboardNavigation.cs (5)
551desiredSize = AdornedElement.RenderSize; 581if (!(contentHost is Visual) || !AdornedElement.IsAncestorOf((Visual)contentHost)) 710if (contentHost is Visual && AdornedElement.IsAncestorOf((Visual)contentHost)) 712_hostToAdornedElement = ((Visual)contentHost).TransformToAncestor(AdornedElement); 749return !DoubleUtil.AreClose(AdornedElement.RenderSize, oldSize);
System.Windows.Controls.Ribbon (1)
Microsoft\Windows\Controls\KeyTipAdorner.cs (1)
249placementTarget = AdornedElement;