2 writes to _annotationComponent
PresentationFramework (2)
MS\Internal\Annotations\Component\AnnotationAdorner.cs (2)
41_annotationComponent = component; 168_annotationComponent = null;
17 references to _annotationComponent
PresentationFramework (17)
MS\Internal\Annotations\Component\AnnotationAdorner.cs (17)
43this.AddVisualChild((UIElement)_annotationComponent); 63if (!(_annotationComponent is UIElement)) 69GeneralTransform compTransform = _annotationComponent.GetDesiredTransform(transform); 74if (_annotationComponent.AnnotatedElement == null) 81_annotatedElement = _annotationComponent.AnnotatedElement; 106if (index != 0 || _annotationComponent == null) 111return (UIElement)_annotationComponent; 125get { return _annotationComponent != null ? 1 : 0; } 137Invariant.Assert(_annotationComponent != null, "AnnotationAdorner should only have one child - the annotation component."); 139((UIElement)_annotationComponent).Measure(childConstraint); 150Invariant.Assert(_annotationComponent != null, "AnnotationAdorner should only have one child - the annotation component."); 152((UIElement)_annotationComponent).Arrange(new Rect(((UIElement)_annotationComponent).DesiredSize)); 167this.RemoveVisualChild((UIElement)_annotationComponent); 194get { return _annotationComponent; } 213if (_annotationComponent.AttachedAnnotations.Count > 0) 215_annotationComponent.PresentationContext.Host.InvalidateMeasure();