2 writes to _attachedAnnotation
PresentationFramework (2)
MS\Internal\Annotations\Component\HighlightComponent.cs (2)
243_attachedAnnotation = attachedAnnotation; 290_attachedAnnotation = null;
15 references to _attachedAnnotation
PresentationFramework (15)
MS\Internal\Annotations\Component\HighlightComponent.cs (15)
64if (_attachedAnnotation != null) 66list.Add(_attachedAnnotation); 170return _attachedAnnotation != null ? (_attachedAnnotation.Parent as UIElement) : null; 215if (_attachedAnnotation != null) 246_attachedAnnotation.Annotation.CargoChanged += new AnnotationResourceChangedEventHandler(OnAnnotationUpdated); 265if (attachedAnnotation != _attachedAnnotation) 285_attachedAnnotation.Annotation.CargoChanged -= new AnnotationResourceChangedEventHandler(OnAnnotationUpdated); 318if (_attachedAnnotation == null) 323TextAnchor textAnchor = _attachedAnnotation.AttachedAnchor as TextAnchor; 446Invariant.Assert(_attachedAnnotation != null, "No _attachedAnnotation"); 452TextAnchor fullAnchor = _attachedAnnotation.FullyAttachedAnchor as TextAnchor; 567Invariant.Assert(_attachedAnnotation != null && _attachedAnnotation.Annotation == args.Annotation, "_attachedAnnotation is different than the input one"); 571TextAnchor textAnchor = _attachedAnnotation.AttachedAnchor as TextAnchor;