16 references to AnnotationComponent
PresentationFramework (16)
MS\Internal\Annotations\Component\AdornerPresentationContext.cs (14)
44
if (adorner.
AnnotationComponent
== null)
46
if (adorner.
AnnotationComponent
.PresentationContext != null)
47
throw new InvalidOperationException(SR.Format(SR.ComponentAlreadyInPresentationContext, adorner.
AnnotationComponent
));
70
newAdorner.
AnnotationComponent
.PresentationContext = new AdornerPresentationContext(adornerLayer, newAdorner);
186
_annotationAdorner.
AnnotationComponent
.PresentationContext = null;
335
topAdorner.
AnnotationComponent
.ZOrder = lastZOrder;
360
return _annotationAdorner != null && component == _annotationAdorner.
AnnotationComponent
;
378
if (annotationAdorner != null && annotationAdorner.
AnnotationComponent
== component) return annotationAdorner;
404
IAnnotationComponent childComponent = adorner.
AnnotationComponent
;
433
if (adorners[index - 1].
AnnotationComponent
.ZOrder <= adorner.
AnnotationComponent
.ZOrder)
463
if ((GetComponentLevel(adorner.
AnnotationComponent
) == level) &&
464
(adorner.
AnnotationComponent
.ZOrder >= res))
466
res = adorner.
AnnotationComponent
.ZOrder + 1;
System\Windows\Annotations\AnnotationService.cs (2)
1031
Invariant.Assert(adorner.
AnnotationComponent
!= null, "AnnotationAdorner component undefined");
1032
adorner.
AnnotationComponent
.IsDirty = true;