2 writes to HighlightAnchor
PresentationFramework (2)
MS\Internal\Annotations\Component\MarkedHighlightComponent.cs (2)
71
HighlightAnchor
= new HighlightComponent(1, true, type);
545
HighlightAnchor
= null;
15 references to HighlightAnchor
PresentationFramework (15)
MS\Internal\Annotations\Component\MarkedHighlightComponent.cs (15)
72
Children.Add(
HighlightAnchor
);
196
HighlightAnchor
.GetDesiredTransform(transform);
487
HighlightAnchor
.AddAttachedAnnotation(_attachedAnnotation);
513
if (
HighlightAnchor
.IsSelected(_selection))
541
if (
HighlightAnchor
!= null)
543
HighlightAnchor
.RemoveAttachedAnnotation(_attachedAnnotation);
544
Children.Remove(
HighlightAnchor
);
653
if ((
HighlightAnchor
== null) || !(
HighlightAnchor
is IHighlightRange))
658
TextAnchor anchor = ((IHighlightRange)
HighlightAnchor
).Range;
671
HighlightAnchor
.IsDirty = true;
728
if ((
HighlightAnchor
!= null) &&
HighlightAnchor
.IsSelected(_selection))
910
Debug.Assert(components[i].
HighlightAnchor
!= null, "Missing highlight anchor component");
911
active[i] = components[i].
HighlightAnchor
.IsSelected(selection);