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