16 references to AnnotationComponent
PresentationFramework (16)
src\Framework\MS\Internal\Annotations\Component\AdornerPresentationContext.cs (14)
55if (adorner.AnnotationComponent == null) 57if (adorner.AnnotationComponent.PresentationContext != null) 58throw new InvalidOperationException(SR.Get(SRID.ComponentAlreadyInPresentationContext, adorner.AnnotationComponent)); 81newAdorner.AnnotationComponent.PresentationContext = new AdornerPresentationContext(adornerLayer, newAdorner); 206_annotationAdorner.AnnotationComponent.PresentationContext = null; 355topAdorner.AnnotationComponent.ZOrder = lastZOrder; 380return _annotationAdorner != null && component == _annotationAdorner.AnnotationComponent; 398if (annotationAdorner != null && annotationAdorner.AnnotationComponent == component) return annotationAdorner; 424IAnnotationComponent childComponent = adorner.AnnotationComponent; 453if (adorners[index-1].AnnotationComponent.ZOrder <= adorner.AnnotationComponent.ZOrder) 483if ((GetComponentLevel(adorner.AnnotationComponent) == level) && 484(adorner.AnnotationComponent.ZOrder >= res)) 486res = adorner.AnnotationComponent.ZOrder + 1;
src\Framework\System\Windows\Annotations\AnnotationService.cs (2)
1086Invariant.Assert(adorner.AnnotationComponent != null, "AnnotationAdorner component undefined"); 1087adorner.AnnotationComponent.IsDirty = true;