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