2 writes to _attachedAnnotation
PresentationFramework (2)
src\Framework\MS\Internal\Annotations\Component\HighlightComponent.cs (2)
262_attachedAnnotation = attachedAnnotation; 313_attachedAnnotation = null;
15 references to _attachedAnnotation
PresentationFramework (15)
src\Framework\MS\Internal\Annotations\Component\HighlightComponent.cs (15)
80if (_attachedAnnotation != null) 82list.Add(_attachedAnnotation); 189return _attachedAnnotation != null ? (_attachedAnnotation.Parent as UIElement) : null; 234if (_attachedAnnotation != null) 265_attachedAnnotation.Annotation.CargoChanged += new AnnotationResourceChangedEventHandler(OnAnnotationUpdated); 288if (attachedAnnotation != _attachedAnnotation) 308_attachedAnnotation.Annotation.CargoChanged -= new AnnotationResourceChangedEventHandler(OnAnnotationUpdated); 343if (_attachedAnnotation == null) 348TextAnchor textAnchor = _attachedAnnotation.AttachedAnchor as TextAnchor; 474Invariant.Assert(_attachedAnnotation != null, "No _attachedAnnotation"); 480TextAnchor fullAnchor = _attachedAnnotation.FullyAttachedAnchor as TextAnchor; 602Invariant.Assert(_attachedAnnotation != null && _attachedAnnotation.Annotation == args.Annotation, "_attachedAnnotation is different than the input one"); 606TextAnchor textAnchor = _attachedAnnotation.AttachedAnchor as TextAnchor;