2 instantiations of HighlightComponent
PresentationFramework (2)
MS\Internal\Annotations\Component\MarkedHighlightComponent.cs (1)
65HighlightAnchor = new HighlightComponent(1, true, type);
System\Windows\Annotations\AnnotationComponentChooser.cs (1)
75ac = new HighlightComponent() as IAnnotationComponent;
20 references to HighlightComponent
PresentationFramework (20)
MS\Internal\Annotations\Component\AnnotationHighlightLayer.cs (2)
304return typeof(HighlightComponent); 574return typeof(HighlightComponent);
MS\Internal\Annotations\Component\HighlightComponent.cs (6)
155SetValue(HighlightComponent.HighlightBrushProperty, value); 161public static DependencyProperty HighlightBrushProperty = DependencyProperty.Register("HighlightBrushProperty", typeof(Brush), typeof(HighlightComponent)); 236AnnotationHighlightLayer highlightLayer = textContainer.Highlights.GetLayer(typeof(HighlightComponent)) as AnnotationHighlightLayer; 282AnnotationHighlightLayer highlightLayer = textContainer.Highlights.GetLayer(typeof(HighlightComponent)) as AnnotationHighlightLayer; 332AnnotationHighlightLayer highlightLayer = textContainer.Highlights.GetLayer(typeof(HighlightComponent)) as AnnotationHighlightLayer; 592AnnotationHighlightLayer highlightLayer = textContainer.Highlights.GetLayer(typeof(HighlightComponent)) as AnnotationHighlightLayer;
MS\Internal\Annotations\Component\MarkedHighlightComponent.cs (2)
756internal HighlightComponent HighlightAnchor 1165private HighlightComponent _highlightAnchor = null; // the HighlightComponent which visualizes the anchor
System\Windows\Annotations\AnnotationComponentChooser.cs (1)
73else if (attachedAnnotation.Annotation.AnnotationType == HighlightComponent.TypeName)
System\Windows\Annotations\AnnotationHelper.cs (7)
807(annotationType == HighlightComponent.TypeName || 885(annotationType == HighlightComponent.TypeName || 972if (HighlightComponent.TypeName.Equals(attachedAnnotation.Annotation.AnnotationType)) 1019Annotation annotation = CreateAnnotationForSelection(service, textRange, HighlightComponent.TypeName, author); 1026XmlElement colorsElement = doc.CreateElement(HighlightComponent.ColorsContentName, AnnotationXmlConstants.Namespaces.BaseSchemaNamespace); 1027colorsElement.SetAttribute(HighlightComponent.BackgroundAttributeName, converter.ConvertToInvariantString(color.Value)); 1029AnnotationResource cargo = new AnnotationResource(HighlightComponent.HighlightResourceName);
System\Windows\Annotations\AnnotationService.cs (1)
726AdornerPresentationContext.SetTypeZLevel(typeof(HighlightComponent), 1);
System\Windows\Documents\FixedDocument.cs (1)
1114LogicalDirection.Forward, typeof(HighlightComponent)) as AnnotationHighlightLayer.HighlightSegment;