2 writes to _attachedAnnotation
PresentationFramework (2)
MS\Internal\Annotations\Component\HighlightComponent.cs (2)
252_attachedAnnotation = attachedAnnotation; 299_attachedAnnotation = null;
15 references to _attachedAnnotation
PresentationFramework (15)
MS\Internal\Annotations\Component\HighlightComponent.cs (15)
73if (_attachedAnnotation != null) 75list.Add(_attachedAnnotation); 179return _attachedAnnotation != null ? (_attachedAnnotation.Parent as UIElement) : null; 224if (_attachedAnnotation != null) 255_attachedAnnotation.Annotation.CargoChanged += new AnnotationResourceChangedEventHandler(OnAnnotationUpdated); 274if (attachedAnnotation != _attachedAnnotation) 294_attachedAnnotation.Annotation.CargoChanged -= new AnnotationResourceChangedEventHandler(OnAnnotationUpdated); 327if (_attachedAnnotation == null) 332TextAnchor textAnchor = _attachedAnnotation.AttachedAnchor as TextAnchor; 455Invariant.Assert(_attachedAnnotation != null, "No _attachedAnnotation"); 461TextAnchor fullAnchor = _attachedAnnotation.FullyAttachedAnchor as TextAnchor; 576Invariant.Assert(_attachedAnnotation != null && _attachedAnnotation.Annotation == args.Annotation, "_attachedAnnotation is different than the input one"); 580TextAnchor textAnchor = _attachedAnnotation.AttachedAnchor as TextAnchor;