7 references to AnnotationType
PresentationFramework (7)
MS\Internal\Annotations\Component\HighlightComponent.cs (2)
527if (!_type.Equals(attachedAnnotation.Annotation.AnnotationType)) 529throw new ArgumentException(SR.Format(SR.NotHighlightAnnotationType, attachedAnnotation.Annotation.AnnotationType.ToString()), "attachedAnnotation");
System\Windows\Annotations\AnnotationComponentChooser.cs (3)
63if (attachedAnnotation.Annotation.AnnotationType == StickyNoteControl.TextSchemaName) 68else if (attachedAnnotation.Annotation.AnnotationType == StickyNoteControl.InkSchemaName) 73else if (attachedAnnotation.Annotation.AnnotationType == HighlightComponent.TypeName)
System\Windows\Annotations\AnnotationHelper.cs (2)
823if (annotationType.Equals(attachedAnnot.Annotation.AnnotationType)) 974if (HighlightComponent.TypeName.Equals(attachedAnnotation.Annotation.AnnotationType))