4 instantiations of AnnotationResource
PresentationFramework (4)
MS\Internal\Controls\StickyNote\StickyNoteAnnotations.cs (2)
497cargo = new AnnotationResource(cargoName); 1322AnnotationResource cargo = new AnnotationResource(SNBConstants.MetaResourceName);
System\Windows\Annotations\AnnotationHelper.cs (2)
1043AnnotationResource cargo = new AnnotationResource(HighlightComponent.HighlightResourceName); 1075AnnotationResource anchor = new AnnotationResource();
52 references to AnnotationResource
PresentationFramework (52)
MS\Internal\Annotations\Anchoring\AttachedAnnotation.cs (4)
52internal AttachedAnnotation(LocatorManager manager, Annotation annotation, AnnotationResource anchor, Object attachedAnchor, AttachmentLevel attachmentLevel) 68internal AttachedAnnotation(LocatorManager manager, Annotation annotation, AnnotationResource anchor, Object attachedAnchor, AttachmentLevel attachmentLevel, DependencyObject parent) 136public AnnotationResource Anchor { get { return _anchor; } } 308private AnnotationResource _anchor;
MS\Internal\Annotations\Anchoring\LocatorManager.cs (1)
321foreach (AnnotationResource anchor in annotation.Anchors)
MS\Internal\Annotations\AnnotationResourceCollection.cs (5)
29internal sealed class AnnotationResourceCollection : AnnotationObservableCollection<AnnotationResource> 80List<AnnotationResource> list = new List<AnnotationResource>(this); 95protected override void ProtectedSetItem(int index, AnnotationResource item) 113void OnCollectionCleared(IEnumerable<AnnotationResource> list)
MS\Internal\Annotations\Component\HighlightComponent.cs (2)
480ICollection<AnnotationResource> cargos = annot.Cargos; 484foreach (AnnotationResource cargo in cargos)
MS\Internal\Annotations\Storage\StoreAnnotationsMap.cs (1)
128foreach (AnnotationResource resource in annotation.Anchors)
MS\Internal\Controls\StickyNote\StickyNoteAnnotations.cs (9)
411private AnnotationResource FindCargo(string cargoName) 413foreach (AnnotationResource cargo in _annotation.Cargos) 440AnnotationResource cargo = FindCargo(GetCargoName(token)); 469SNCAnnotation annotation, XmlToken token, out AnnotationResource cargo, out XmlElement root, out bool newCargo, out bool newRoot) 632private static XmlElement FindRootXmlElement(XmlToken token, AnnotationResource cargo) 681private static object FindContent(XmlToken token, AnnotationResource cargo) 742AnnotationResource cargo = null; 800AnnotationResource cargo; 1322AnnotationResource cargo = new AnnotationResource(SNBConstants.MetaResourceName);
System\Windows\Annotations\AnchorInfo.cs (1)
35AnnotationResource Anchor { get; }
System\Windows\Annotations\Annotation.cs (16)
236foreach (AnnotationResource anchor in _anchors) 249foreach (AnnotationResource cargo in _cargos) 301AnnotationResource anchor = (AnnotationResource)ResourceSerializer.Deserialize(reader); 316AnnotationResource cargo = (AnnotationResource)ResourceSerializer.Deserialize(reader); 477public Collection<AnnotationResource> Anchors 492public Collection<AnnotationResource> Cargos 587_ResourceSerializer = new Serializer(typeof(AnnotationResource)); 697FireResourceEvent((AnnotationResource)sender, AnnotationAction.Modified, CargoChanged); 721foreach (AnnotationResource cargo in e.OldItems) 742foreach (AnnotationResource cargo in changedItems) 751FireResourceEvent((AnnotationResource)sender, AnnotationAction.Modified, AnchorChanged); 775foreach (AnnotationResource anchor in e.OldItems) 796foreach (AnnotationResource anchor in changedItems) 877private void FireResourceEvent(AnnotationResource resource, AnnotationAction action, AnnotationResourceChangedEventHandler handlers)
System\Windows\Annotations\AnnotationDocumentPaginator.cs (1)
388foreach (AnnotationResource anchor in annotation.Anchors)
System\Windows\Annotations\AnnotationHelper.cs (2)
1043AnnotationResource cargo = new AnnotationResource(HighlightComponent.HighlightResourceName); 1075AnnotationResource anchor = new AnnotationResource();
System\Windows\Annotations\AnnotationResourceChangedEventArgs.cs (3)
50public AnnotationResourceChangedEventArgs(Annotation annotation, AnnotationAction action, AnnotationResource resource) 90public AnnotationResource Resource 127private AnnotationResource _resource;
System\Windows\Annotations\AnnotationService.cs (5)
1306foreach (AnnotationResource anchor in annotation.Anchors) 1354private AttachedAnnotationChangedEventArgs AnchorAdded(Annotation annotation, AnnotationResource anchor) 1385private AttachedAnnotationChangedEventArgs AnchorRemoved(Annotation annotation, AnnotationResource anchor) 1420private AttachedAnnotationChangedEventArgs AnchorModified(Annotation annotation, AnnotationResource anchor) 1616private object FindAttachedAnchor(AnnotationResource anchor, out AttachmentLevel attachmentLevel)
System\Windows\Annotations\LocatorGroup.cs (2)
115AnnotationResource.ListSerializer.Serialize(writer, locator); 145ContentLocator locator = (ContentLocator)AnnotationResource.ListSerializer.Deserialize(reader);