2 writes to _annotationComponent
PresentationFramework (2)
MS\Internal\Annotations\Component\AnnotationAdorner.cs (2)
37
_annotationComponent
= component;
164
_annotationComponent
= null;
17 references to _annotationComponent
PresentationFramework (17)
MS\Internal\Annotations\Component\AnnotationAdorner.cs (17)
39
this.AddVisualChild((UIElement)
_annotationComponent
);
59
if (!(
_annotationComponent
is UIElement))
65
GeneralTransform compTransform =
_annotationComponent
.GetDesiredTransform(transform);
70
if (
_annotationComponent
.AnnotatedElement == null)
77
_annotatedElement =
_annotationComponent
.AnnotatedElement;
102
if (index != 0 ||
_annotationComponent
== null)
107
return (UIElement)
_annotationComponent
;
121
get { return
_annotationComponent
!= null ? 1 : 0; }
133
Invariant.Assert(
_annotationComponent
!= null, "AnnotationAdorner should only have one child - the annotation component.");
135
((UIElement)
_annotationComponent
).Measure(childConstraint);
146
Invariant.Assert(
_annotationComponent
!= null, "AnnotationAdorner should only have one child - the annotation component.");
148
((UIElement)
_annotationComponent
).Arrange(new Rect(((UIElement)
_annotationComponent
).DesiredSize));
163
this.RemoveVisualChild((UIElement)
_annotationComponent
);
190
get { return
_annotationComponent
; }
209
if (
_annotationComponent
.AttachedAnnotations.Count > 0)
211
_annotationComponent
.PresentationContext.Host.InvalidateMeasure();