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