2 writes to _annotationComponent
PresentationFramework (2)
src\Framework\MS\Internal\Annotations\Component\AnnotationAdorner.cs (2)
47
_annotationComponent
= component;
174
_annotationComponent
= null;
17 references to _annotationComponent
PresentationFramework (17)
src\Framework\MS\Internal\Annotations\Component\AnnotationAdorner.cs (17)
49
this.AddVisualChild((UIElement)
_annotationComponent
);
69
if (!(
_annotationComponent
is UIElement))
75
GeneralTransform compTransform =
_annotationComponent
.GetDesiredTransform(transform);
80
if (
_annotationComponent
.AnnotatedElement == null)
87
_annotatedElement =
_annotationComponent
.AnnotatedElement;
112
if(index != 0 ||
_annotationComponent
== null)
117
return (UIElement)
_annotationComponent
;
131
get { return
_annotationComponent
!= null ? 1 : 0; }
143
Invariant.Assert(
_annotationComponent
!= null, "AnnotationAdorner should only have one child - the annotation component.");
145
((UIElement)
_annotationComponent
).Measure(childConstraint);
156
Invariant.Assert(
_annotationComponent
!= null, "AnnotationAdorner should only have one child - the annotation component.");
158
((UIElement)
_annotationComponent
).Arrange(new Rect(((UIElement)
_annotationComponent
).DesiredSize));
173
this.RemoveVisualChild((UIElement)
_annotationComponent
);
200
get { return
_annotationComponent
; }
219
if (
_annotationComponent
.AttachedAnnotations.Count > 0)
221
_annotationComponent
.PresentationContext.Host.InvalidateMeasure();