7 references to AnnotationType
PresentationFramework (7)
MS\Internal\Annotations\Component\HighlightComponent.cs (2)
526if (!_type.Equals(attachedAnnotation.Annotation.AnnotationType)) 528throw new ArgumentException(SR.Format(SR.NotHighlightAnnotationType, attachedAnnotation.Annotation.AnnotationType.ToString()), nameof(attachedAnnotation));
System\Windows\Annotations\AnnotationComponentChooser.cs (3)
62if (attachedAnnotation.Annotation.AnnotationType == StickyNoteControl.TextSchemaName) 67else if (attachedAnnotation.Annotation.AnnotationType == StickyNoteControl.InkSchemaName) 72else if (attachedAnnotation.Annotation.AnnotationType == HighlightComponent.TypeName)
System\Windows\Annotations\AnnotationHelper.cs (2)
820if (annotationType.Equals(attachedAnnot.Annotation.AnnotationType)) 971if (HighlightComponent.TypeName.Equals(attachedAnnotation.Annotation.AnnotationType))