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