7 references to AnnotationType
PresentationFramework (7)
MS\Internal\Annotations\Component\HighlightComponent.cs (2)
535if (!_type.Equals(attachedAnnotation.Annotation.AnnotationType)) 537throw new ArgumentException(SR.Format(SR.NotHighlightAnnotationType, attachedAnnotation.Annotation.AnnotationType.ToString()), "attachedAnnotation");
System\Windows\Annotations\AnnotationComponentChooser.cs (3)
67if (attachedAnnotation.Annotation.AnnotationType == StickyNoteControl.TextSchemaName) 72else if (attachedAnnotation.Annotation.AnnotationType == StickyNoteControl.InkSchemaName) 77else if (attachedAnnotation.Annotation.AnnotationType == HighlightComponent.TypeName)
System\Windows\Annotations\AnnotationHelper.cs (2)
835if (annotationType.Equals(attachedAnnot.Annotation.AnnotationType)) 986if (HighlightComponent.TypeName.Equals(attachedAnnotation.Annotation.AnnotationType))