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)
64
if (
_attachedAnnotation
!= null)
66
list.Add(
_attachedAnnotation
);
170
return
_attachedAnnotation
!= null ? (
_attachedAnnotation
.Parent as UIElement) : null;
215
if (
_attachedAnnotation
!= null)
246
_attachedAnnotation
.Annotation.CargoChanged += new AnnotationResourceChangedEventHandler(OnAnnotationUpdated);
265
if (attachedAnnotation !=
_attachedAnnotation
)
285
_attachedAnnotation
.Annotation.CargoChanged -= new AnnotationResourceChangedEventHandler(OnAnnotationUpdated);
318
if (
_attachedAnnotation
== null)
323
TextAnchor textAnchor =
_attachedAnnotation
.AttachedAnchor as TextAnchor;
446
Invariant.Assert(
_attachedAnnotation
!= null, "No _attachedAnnotation");
452
TextAnchor fullAnchor =
_attachedAnnotation
.FullyAttachedAnchor as TextAnchor;
567
Invariant.Assert(
_attachedAnnotation
!= null &&
_attachedAnnotation
.Annotation == args.Annotation, "_attachedAnnotation is different than the input one");
571
TextAnchor textAnchor =
_attachedAnnotation
.AttachedAnchor as TextAnchor;