2 writes to _annotationComponent
PresentationFramework (2)
MS\Internal\Annotations\Component\AnnotationAdorner.cs (2)
41
_annotationComponent
= component;
168
_annotationComponent
= null;
17 references to _annotationComponent
PresentationFramework (17)
MS\Internal\Annotations\Component\AnnotationAdorner.cs (17)
43
this.AddVisualChild((UIElement)
_annotationComponent
);
63
if (!(
_annotationComponent
is UIElement))
69
GeneralTransform compTransform =
_annotationComponent
.GetDesiredTransform(transform);
74
if (
_annotationComponent
.AnnotatedElement == null)
81
_annotatedElement =
_annotationComponent
.AnnotatedElement;
106
if (index != 0 ||
_annotationComponent
== null)
111
return (UIElement)
_annotationComponent
;
125
get { return
_annotationComponent
!= null ? 1 : 0; }
137
Invariant.Assert(
_annotationComponent
!= null, "AnnotationAdorner should only have one child - the annotation component.");
139
((UIElement)
_annotationComponent
).Measure(childConstraint);
150
Invariant.Assert(
_annotationComponent
!= null, "AnnotationAdorner should only have one child - the annotation component.");
152
((UIElement)
_annotationComponent
).Arrange(new Rect(((UIElement)
_annotationComponent
).DesiredSize));
167
this.RemoveVisualChild((UIElement)
_annotationComponent
);
194
get { return
_annotationComponent
; }
213
if (
_annotationComponent
.AttachedAnnotations.Count > 0)
215
_annotationComponent
.PresentationContext.Host.InvalidateMeasure();