2 instantiations of HighlightComponent
PresentationFramework (2)
MS\Internal\Annotations\Component\MarkedHighlightComponent.cs (1)
71
HighlightAnchor = new
HighlightComponent
(1, true, type);
System\Windows\Annotations\AnnotationComponentChooser.cs (1)
79
ac = new
HighlightComponent
() as IAnnotationComponent;
20 references to HighlightComponent
PresentationFramework (20)
MS\Internal\Annotations\Component\AnnotationHighlightLayer.cs (2)
311
return typeof(
HighlightComponent
);
581
return typeof(
HighlightComponent
);
MS\Internal\Annotations\Component\HighlightComponent.cs (6)
163
SetValue(
HighlightComponent
.HighlightBrushProperty, value);
169
public static DependencyProperty HighlightBrushProperty = DependencyProperty.Register("HighlightBrushProperty", typeof(Brush), typeof(
HighlightComponent
));
244
AnnotationHighlightLayer highlightLayer = textContainer.Highlights.GetLayer(typeof(
HighlightComponent
)) as AnnotationHighlightLayer;
290
AnnotationHighlightLayer highlightLayer = textContainer.Highlights.GetLayer(typeof(
HighlightComponent
)) as AnnotationHighlightLayer;
340
AnnotationHighlightLayer highlightLayer = textContainer.Highlights.GetLayer(typeof(
HighlightComponent
)) as AnnotationHighlightLayer;
600
AnnotationHighlightLayer highlightLayer = textContainer.Highlights.GetLayer(typeof(
HighlightComponent
)) as AnnotationHighlightLayer;
MS\Internal\Annotations\Component\MarkedHighlightComponent.cs (2)
756
internal
HighlightComponent
HighlightAnchor
1165
private
HighlightComponent
_highlightAnchor = null; // the HighlightComponent which visualizes the anchor
System\Windows\Annotations\AnnotationComponentChooser.cs (1)
77
else if (attachedAnnotation.Annotation.AnnotationType ==
HighlightComponent
.TypeName)
System\Windows\Annotations\AnnotationHelper.cs (7)
821
(annotationType ==
HighlightComponent
.TypeName ||
899
(annotationType ==
HighlightComponent
.TypeName ||
986
if (
HighlightComponent
.TypeName.Equals(attachedAnnotation.Annotation.AnnotationType))
1033
Annotation annotation = CreateAnnotationForSelection(service, textRange,
HighlightComponent
.TypeName, author);
1040
XmlElement colorsElement = doc.CreateElement(
HighlightComponent
.ColorsContentName, AnnotationXmlConstants.Namespaces.BaseSchemaNamespace);
1041
colorsElement.SetAttribute(
HighlightComponent
.BackgroundAttributeName, converter.ConvertToInvariantString(color.Value));
1043
AnnotationResource cargo = new AnnotationResource(
HighlightComponent
.HighlightResourceName);
System\Windows\Annotations\AnnotationService.cs (1)
743
AdornerPresentationContext.SetTypeZLevel(typeof(
HighlightComponent
), 1);
System\Windows\Documents\FixedDocument.cs (1)
1123
LogicalDirection.Forward, typeof(
HighlightComponent
)) as AnnotationHighlightLayer.HighlightSegment;