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