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)
49this.AddVisualChild((UIElement)_annotationComponent); 69if (!(_annotationComponent is UIElement)) 75GeneralTransform compTransform = _annotationComponent.GetDesiredTransform(transform); 80if (_annotationComponent.AnnotatedElement == null) 87_annotatedElement = _annotationComponent.AnnotatedElement; 112if(index != 0 || _annotationComponent == null) 117return (UIElement)_annotationComponent; 131get { return _annotationComponent != null ? 1 : 0; } 143Invariant.Assert(_annotationComponent != null, "AnnotationAdorner should only have one child - the annotation component."); 145((UIElement)_annotationComponent).Measure(childConstraint); 156Invariant.Assert(_annotationComponent != null, "AnnotationAdorner should only have one child - the annotation component."); 158((UIElement)_annotationComponent).Arrange(new Rect(((UIElement)_annotationComponent).DesiredSize)); 173this.RemoveVisualChild((UIElement)_annotationComponent); 200get { return _annotationComponent; } 219if (_annotationComponent.AttachedAnnotations.Count > 0) 221_annotationComponent.PresentationContext.Host.InvalidateMeasure();