33 references to AdornedElement
PresentationFramework (32)
MS\Internal\Controls\InkCanvasSelectionAdorner.cs (2)
312if (count == 1 && ((InkCanvasInnerCanvas)AdornedElement).InkCanvas.GetSelectedStrokes().Count == 0) 415Rect selectionRect = ((InkCanvasInnerCanvas)AdornedElement).InkCanvas.GetSelectionBounds();
MS\Internal\Controls\TemplatedAdorner.cs (4)
137if (ReferenceElement != null && AdornedElement != null && 138AdornedElement.IsMeasureValid && 139!DoubleUtil.AreClose(ReferenceElement.DesiredSize, AdornedElement.DesiredSize) 173Visibility desired = AdornedElement.IsVisible ? Visibility.Visible : Visibility.Collapsed;
System\Windows\Controls\AdornedElementPlaceholder.cs (1)
90return adorner == null ? null : TemplatedAdorner.AdornedElement;
System\Windows\Documents\Adorner.cs (4)
71desiredSize = new Size(AdornedElement.RenderSize.Width, AdornedElement.RenderSize.Height); 215binding.Source = adorner.AdornedElement; 227return !DoubleUtil.AreClose(AdornedElement.RenderSize, oldSize);
System\Windows\Documents\AdornerLayer.cs (8)
182ArrayList adornerInfos = ElementMap[adorner.AdornedElement] as ArrayList; 197RemoveAdornerInfo(ElementMap, adorner, adorner.AdornedElement); 516AddAdornerInfo(ElementMap, adornerInfo, adorner.AdornedElement); 522UpdateAdorner(adorner.AdornedElement); 558ArrayList adornerInfos = ElementMap[adorner.AdornedElement] as ArrayList; 574UpdateAdorner(adorner.AdornedElement); 584ArrayList adornerInfos = ElementMap[adorner.AdornedElement] as ArrayList; 730clip = GetClipGeometry(adornerInfo.Adorner.AdornedElement, adornerInfo.Adorner);
System\windows\Documents\CaretElement.cs (4)
552Adorner[] adorners = adornerLayer.GetAdorners(this.AdornedElement); 563adornerLayer.Update(this.AdornedElement); 661FlowDirection flowDirection = (FlowDirection)AdornedElement.GetValue(FlowDirectionProperty); 706FlowDirection flowDirection = (FlowDirection)AdornedElement.GetValue(FlowDirectionProperty);
System\Windows\Documents\ColumnResizeAdorner.cs (1)
125adornerLayer.Update(AdornedElement);
System\Windows\Documents\CompositionAdorner.cs (3)
127Visual parent2d = VisualTreeHelper.GetParent(this.AdornedElement) as Visual; 133GeneralTransform transform = AdornedElement.TransformToAncestor(parent2d); 351adornerLayer.Update(AdornedElement);
System\Windows\Input\KeyboardNavigation.cs (5)
541desiredSize = AdornedElement.RenderSize; 571if (!(contentHost is Visual) || !AdornedElement.IsAncestorOf((Visual)contentHost)) 700if (contentHost is Visual && AdornedElement.IsAncestorOf((Visual)contentHost)) 702_hostToAdornedElement = ((Visual)contentHost).TransformToAncestor(AdornedElement); 739return !DoubleUtil.AreClose(AdornedElement.RenderSize, oldSize);
System.Windows.Controls.Ribbon (1)
Microsoft\Windows\Controls\KeyTipAdorner.cs (1)
246placementTarget = AdornedElement;