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)
73
if (
_attachedAnnotation
!= null)
75
list.Add(
_attachedAnnotation
);
179
return
_attachedAnnotation
!= null ? (
_attachedAnnotation
.Parent as UIElement) : null;
224
if (
_attachedAnnotation
!= null)
255
_attachedAnnotation
.Annotation.CargoChanged += new AnnotationResourceChangedEventHandler(OnAnnotationUpdated);
274
if (attachedAnnotation !=
_attachedAnnotation
)
294
_attachedAnnotation
.Annotation.CargoChanged -= new AnnotationResourceChangedEventHandler(OnAnnotationUpdated);
327
if (
_attachedAnnotation
== null)
332
TextAnchor textAnchor =
_attachedAnnotation
.AttachedAnchor as TextAnchor;
455
Invariant.Assert(
_attachedAnnotation
!= null, "No _attachedAnnotation");
461
TextAnchor fullAnchor =
_attachedAnnotation
.FullyAttachedAnchor as TextAnchor;
576
Invariant.Assert(
_attachedAnnotation
!= null &&
_attachedAnnotation
.Annotation == args.Annotation, "_attachedAnnotation is different than the input one");
580
TextAnchor textAnchor =
_attachedAnnotation
.AttachedAnchor as TextAnchor;