2 writes to _attachedAnnotation
PresentationFramework (2)
src\Framework\MS\Internal\Annotations\Component\HighlightComponent.cs (2)
262
_attachedAnnotation
= attachedAnnotation;
313
_attachedAnnotation
= null;
15 references to _attachedAnnotation
PresentationFramework (15)
src\Framework\MS\Internal\Annotations\Component\HighlightComponent.cs (15)
80
if (
_attachedAnnotation
!= null)
82
list.Add(
_attachedAnnotation
);
189
return
_attachedAnnotation
!= null ? (
_attachedAnnotation
.Parent as UIElement) : null;
234
if (
_attachedAnnotation
!= null)
265
_attachedAnnotation
.Annotation.CargoChanged += new AnnotationResourceChangedEventHandler(OnAnnotationUpdated);
288
if (attachedAnnotation !=
_attachedAnnotation
)
308
_attachedAnnotation
.Annotation.CargoChanged -= new AnnotationResourceChangedEventHandler(OnAnnotationUpdated);
343
if (
_attachedAnnotation
== null)
348
TextAnchor textAnchor =
_attachedAnnotation
.AttachedAnchor as TextAnchor;
474
Invariant.Assert(
_attachedAnnotation
!= null, "No _attachedAnnotation");
480
TextAnchor fullAnchor =
_attachedAnnotation
.FullyAttachedAnchor as TextAnchor;
602
Invariant.Assert(
_attachedAnnotation
!= null &&
_attachedAnnotation
.Annotation == args.Annotation, "_attachedAnnotation is different than the input one");
606
TextAnchor textAnchor =
_attachedAnnotation
.AttachedAnchor as TextAnchor;