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)
65
if (
_attachedAnnotation
!= null)
67
list.Add(
_attachedAnnotation
);
171
return
_attachedAnnotation
!= null ? (
_attachedAnnotation
.Parent as UIElement) : null;
216
if (
_attachedAnnotation
!= null)
247
_attachedAnnotation
.Annotation.CargoChanged += new AnnotationResourceChangedEventHandler(OnAnnotationUpdated);
266
if (attachedAnnotation !=
_attachedAnnotation
)
286
_attachedAnnotation
.Annotation.CargoChanged -= new AnnotationResourceChangedEventHandler(OnAnnotationUpdated);
319
if (
_attachedAnnotation
== null)
324
TextAnchor textAnchor =
_attachedAnnotation
.AttachedAnchor as TextAnchor;
447
Invariant.Assert(
_attachedAnnotation
!= null, "No _attachedAnnotation");
453
TextAnchor fullAnchor =
_attachedAnnotation
.FullyAttachedAnchor as TextAnchor;
568
Invariant.Assert(
_attachedAnnotation
!= null &&
_attachedAnnotation
.Annotation == args.Annotation, "_attachedAnnotation is different than the input one");
572
TextAnchor textAnchor =
_attachedAnnotation
.AttachedAnchor as TextAnchor;