2 writes to HighlightAnchor
PresentationFramework (2)
MS\Internal\Annotations\Component\MarkedHighlightComponent.cs (2)
64
HighlightAnchor
= new HighlightComponent(1, true, type);
535
HighlightAnchor
= null;
15 references to HighlightAnchor
PresentationFramework (15)
MS\Internal\Annotations\Component\MarkedHighlightComponent.cs (15)
65
Children.Add(
HighlightAnchor
);
189
HighlightAnchor
.GetDesiredTransform(transform);
477
HighlightAnchor
.AddAttachedAnnotation(_attachedAnnotation);
503
if (
HighlightAnchor
.IsSelected(_selection))
531
if (
HighlightAnchor
!= null)
533
HighlightAnchor
.RemoveAttachedAnnotation(_attachedAnnotation);
534
Children.Remove(
HighlightAnchor
);
647
if ((
HighlightAnchor
== null) || !(
HighlightAnchor
is IHighlightRange))
652
TextAnchor anchor = ((IHighlightRange)
HighlightAnchor
).Range;
665
HighlightAnchor
.IsDirty = true;
722
if ((
HighlightAnchor
!= null) &&
HighlightAnchor
.IsSelected(_selection))
904
Debug.Assert(components[i].
HighlightAnchor
!= null, "Missing highlight anchor component");
905
active[i] = components[i].
HighlightAnchor
.IsSelected(selection);