2 instantiations of HighlightComponent
PresentationFramework (2)
src\Framework\MS\Internal\Annotations\Component\MArkedHighlightComponent.cs (1)
78
HighlightAnchor = new
HighlightComponent
(1, true, type);
src\Framework\System\Windows\Annotations\AnnotationComponentChooser.cs (1)
84
ac = new
HighlightComponent
() as IAnnotationComponent;
20 references to HighlightComponent
PresentationFramework (20)
src\Framework\MS\Internal\Annotations\Component\AnnotationHighlightLayer.cs (2)
319
return typeof(
HighlightComponent
);
595
return typeof(
HighlightComponent
);
src\Framework\MS\Internal\Annotations\Component\HighlightComponent.cs (6)
173
SetValue(
HighlightComponent
.HighlightBrushProperty, value);
179
public static DependencyProperty HighlightBrushProperty = DependencyProperty.Register("HighlightBrushProperty", typeof(Brush), typeof(
HighlightComponent
));
254
AnnotationHighlightLayer highlightLayer = textContainer.Highlights.GetLayer(typeof(
HighlightComponent
)) as AnnotationHighlightLayer;
304
AnnotationHighlightLayer highlightLayer = textContainer.Highlights.GetLayer(typeof(
HighlightComponent
)) as AnnotationHighlightLayer;
356
AnnotationHighlightLayer highlightLayer = textContainer.Highlights.GetLayer(typeof(
HighlightComponent
)) as AnnotationHighlightLayer;
626
AnnotationHighlightLayer highlightLayer = textContainer.Highlights.GetLayer(typeof(
HighlightComponent
)) as AnnotationHighlightLayer;
src\Framework\MS\Internal\Annotations\Component\MArkedHighlightComponent.cs (2)
778
internal
HighlightComponent
HighlightAnchor
1189
private
HighlightComponent
_highlightAnchor = null; // the HighlightComponent which visualizes the anchor
src\Framework\System\Windows\Annotations\AnnotationComponentChooser.cs (1)
82
else if (attachedAnnotation.Annotation.AnnotationType ==
HighlightComponent
.TypeName)
src\Framework\System\Windows\Annotations\AnnotationHelper.cs (7)
828
(annotationType ==
HighlightComponent
.TypeName ||
907
(annotationType ==
HighlightComponent
.TypeName ||
994
if (
HighlightComponent
.TypeName.Equals(attachedAnnotation.Annotation.AnnotationType))
1041
Annotation annotation = CreateAnnotationForSelection(service, textRange,
HighlightComponent
.TypeName, author);
1048
XmlElement colorsElement = doc.CreateElement(
HighlightComponent
.ColorsContentName, AnnotationXmlConstants.Namespaces.BaseSchemaNamespace);
1049
colorsElement.SetAttribute(
HighlightComponent
.BackgroundAttributeName, converter.ConvertToInvariantString(color.Value));
1051
AnnotationResource cargo = new AnnotationResource(
HighlightComponent
.HighlightResourceName);
src\Framework\System\Windows\Annotations\AnnotationService.cs (1)
775
AdornerPresentationContext.SetTypeZLevel(typeof(
HighlightComponent
), 1);
src\Framework\System\Windows\Documents\FixedDocument.cs (1)
1159
LogicalDirection.Forward, typeof(
HighlightComponent
)) as AnnotationHighlightLayer.HighlightSegment;