2 writes to _attachedAnnotation
PresentationFramework (2)
MS\Internal\Annotations\Component\HighlightComponent.cs (2)
244_attachedAnnotation = attachedAnnotation; 291_attachedAnnotation = null;
15 references to _attachedAnnotation
PresentationFramework (15)
MS\Internal\Annotations\Component\HighlightComponent.cs (15)
65if (_attachedAnnotation != null) 67list.Add(_attachedAnnotation); 171return _attachedAnnotation != null ? (_attachedAnnotation.Parent as UIElement) : null; 216if (_attachedAnnotation != null) 247_attachedAnnotation.Annotation.CargoChanged += new AnnotationResourceChangedEventHandler(OnAnnotationUpdated); 266if (attachedAnnotation != _attachedAnnotation) 286_attachedAnnotation.Annotation.CargoChanged -= new AnnotationResourceChangedEventHandler(OnAnnotationUpdated); 319if (_attachedAnnotation == null) 324TextAnchor textAnchor = _attachedAnnotation.AttachedAnchor as TextAnchor; 447Invariant.Assert(_attachedAnnotation != null, "No _attachedAnnotation"); 453TextAnchor fullAnchor = _attachedAnnotation.FullyAttachedAnchor as TextAnchor; 568Invariant.Assert(_attachedAnnotation != null && _attachedAnnotation.Annotation == args.Annotation, "_attachedAnnotation is different than the input one"); 572TextAnchor textAnchor = _attachedAnnotation.AttachedAnchor as TextAnchor;