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)
40this.AddVisualChild((UIElement)_annotationComponent); 60if (!(_annotationComponent is UIElement)) 66GeneralTransform compTransform = _annotationComponent.GetDesiredTransform(transform); 71if (_annotationComponent.AnnotatedElement == null) 78_annotatedElement = _annotationComponent.AnnotatedElement; 103if (index != 0 || _annotationComponent == null) 108return (UIElement)_annotationComponent; 122get { return _annotationComponent != null ? 1 : 0; } 134Invariant.Assert(_annotationComponent != null, "AnnotationAdorner should only have one child - the annotation component."); 136((UIElement)_annotationComponent).Measure(childConstraint); 147Invariant.Assert(_annotationComponent != null, "AnnotationAdorner should only have one child - the annotation component."); 149((UIElement)_annotationComponent).Arrange(new Rect(((UIElement)_annotationComponent).DesiredSize)); 164this.RemoveVisualChild((UIElement)_annotationComponent); 191get { return _annotationComponent; } 210if (_annotationComponent.AttachedAnnotations.Count > 0) 212_annotationComponent.PresentationContext.Host.InvalidateMeasure();