16 references to AnnotationComponent
PresentationFramework (16)
MS\Internal\Annotations\Component\AdornerPresentationContext.cs (14)
43if (adorner.AnnotationComponent == null) 45if (adorner.AnnotationComponent.PresentationContext != null) 46throw new InvalidOperationException(SR.Format(SR.ComponentAlreadyInPresentationContext, adorner.AnnotationComponent)); 69newAdorner.AnnotationComponent.PresentationContext = new AdornerPresentationContext(adornerLayer, newAdorner); 185_annotationAdorner.AnnotationComponent.PresentationContext = null; 334topAdorner.AnnotationComponent.ZOrder = lastZOrder; 359return _annotationAdorner != null && component == _annotationAdorner.AnnotationComponent; 377if (annotationAdorner != null && annotationAdorner.AnnotationComponent == component) return annotationAdorner; 403IAnnotationComponent childComponent = adorner.AnnotationComponent; 432if (adorners[index - 1].AnnotationComponent.ZOrder <= adorner.AnnotationComponent.ZOrder) 462if ((GetComponentLevel(adorner.AnnotationComponent) == level) && 463(adorner.AnnotationComponent.ZOrder >= res)) 465res = adorner.AnnotationComponent.ZOrder + 1;
System\Windows\Annotations\AnnotationService.cs (2)
1030Invariant.Assert(adorner.AnnotationComponent != null, "AnnotationAdorner component undefined"); 1031adorner.AnnotationComponent.IsDirty = true;