2 references to NoPresentationContextForGivenElement
PresentationFramework (2)
MS\Internal\Annotations\Component\AnnotationComponentManager.cs (1)
180throw new InvalidOperationException(SR.Format(SR.NoPresentationContextForGivenElement, annotatedElement));
MS\Internal\Annotations\Component\MarkedHighlightComponent.cs (1)
484if (layer == null) throw new InvalidOperationException(SR.Format(SR.NoPresentationContextForGivenElement, AnnotatedElement));