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
);
641
if ((
HighlightAnchor
== null) || !(
HighlightAnchor
is IHighlightRange))
646
TextAnchor anchor = ((IHighlightRange)
HighlightAnchor
).Range;
659
HighlightAnchor
.IsDirty = true;
716
if ((
HighlightAnchor
!= null) &&
HighlightAnchor
.IsSelected(_selection))
898
Debug.Assert(components[i].
HighlightAnchor
!= null, "Missing highlight anchor component");
899
active[i] = components[i].
HighlightAnchor
.IsSelected(selection);