16 references to AnnotationComponent
PresentationFramework (16)
MS\Internal\Annotations\Component\AdornerPresentationContext.cs (14)
48if (adorner.AnnotationComponent == null) 50if (adorner.AnnotationComponent.PresentationContext != null) 51throw new InvalidOperationException(SR.Format(SR.ComponentAlreadyInPresentationContext, adorner.AnnotationComponent)); 74newAdorner.AnnotationComponent.PresentationContext = new AdornerPresentationContext(adornerLayer, newAdorner); 190_annotationAdorner.AnnotationComponent.PresentationContext = null; 339topAdorner.AnnotationComponent.ZOrder = lastZOrder; 364return _annotationAdorner != null && component == _annotationAdorner.AnnotationComponent; 382if (annotationAdorner != null && annotationAdorner.AnnotationComponent == component) return annotationAdorner; 408IAnnotationComponent childComponent = adorner.AnnotationComponent; 437if (adorners[index - 1].AnnotationComponent.ZOrder <= adorner.AnnotationComponent.ZOrder) 467if ((GetComponentLevel(adorner.AnnotationComponent) == level) && 468(adorner.AnnotationComponent.ZOrder >= res)) 470res = adorner.AnnotationComponent.ZOrder + 1;
System\Windows\Annotations\AnnotationService.cs (2)
1048Invariant.Assert(adorner.AnnotationComponent != null, "AnnotationAdorner component undefined"); 1049adorner.AnnotationComponent.IsDirty = true;