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)
39this.AddVisualChild((UIElement)_annotationComponent); 59if (!(_annotationComponent is UIElement)) 65GeneralTransform compTransform = _annotationComponent.GetDesiredTransform(transform); 70if (_annotationComponent.AnnotatedElement == null) 77_annotatedElement = _annotationComponent.AnnotatedElement; 102if (index != 0 || _annotationComponent == null) 107return (UIElement)_annotationComponent; 121get { return _annotationComponent != null ? 1 : 0; } 133Invariant.Assert(_annotationComponent != null, "AnnotationAdorner should only have one child - the annotation component."); 135((UIElement)_annotationComponent).Measure(childConstraint); 146Invariant.Assert(_annotationComponent != null, "AnnotationAdorner should only have one child - the annotation component."); 148((UIElement)_annotationComponent).Arrange(new Rect(((UIElement)_annotationComponent).DesiredSize)); 163this.RemoveVisualChild((UIElement)_annotationComponent); 190get { return _annotationComponent; } 209if (_annotationComponent.AttachedAnnotations.Count > 0) 211_annotationComponent.PresentationContext.Host.InvalidateMeasure();