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