2 writes to _annotationComponent
PresentationFramework (2)
MS\Internal\Annotations\Component\AnnotationAdorner.cs (2)
38
_annotationComponent
= component;
165
_annotationComponent
= null;
17 references to _annotationComponent
PresentationFramework (17)
MS\Internal\Annotations\Component\AnnotationAdorner.cs (17)
40
this.AddVisualChild((UIElement)
_annotationComponent
);
60
if (!(
_annotationComponent
is UIElement))
66
GeneralTransform compTransform =
_annotationComponent
.GetDesiredTransform(transform);
71
if (
_annotationComponent
.AnnotatedElement == null)
78
_annotatedElement =
_annotationComponent
.AnnotatedElement;
103
if (index != 0 ||
_annotationComponent
== null)
108
return (UIElement)
_annotationComponent
;
122
get { return
_annotationComponent
!= null ? 1 : 0; }
134
Invariant.Assert(
_annotationComponent
!= null, "AnnotationAdorner should only have one child - the annotation component.");
136
((UIElement)
_annotationComponent
).Measure(childConstraint);
147
Invariant.Assert(
_annotationComponent
!= null, "AnnotationAdorner should only have one child - the annotation component.");
149
((UIElement)
_annotationComponent
).Arrange(new Rect(((UIElement)
_annotationComponent
).DesiredSize));
164
this.RemoveVisualChild((UIElement)
_annotationComponent
);
191
get { return
_annotationComponent
; }
210
if (
_annotationComponent
.AttachedAnnotations.Count > 0)
212
_annotationComponent
.PresentationContext.Host.InvalidateMeasure();