4 instantiations of AnnotationResource
PresentationFramework (4)
MS\Internal\Controls\StickyNote\StickyNoteAnnotations.cs (2)
486cargo = new AnnotationResource(cargoName); 1311AnnotationResource cargo = new AnnotationResource(SNBConstants.MetaResourceName);
System\Windows\Annotations\AnnotationHelper.cs (2)
1028AnnotationResource cargo = new AnnotationResource(HighlightComponent.HighlightResourceName); 1060AnnotationResource anchor = new AnnotationResource();
52 references to AnnotationResource
PresentationFramework (52)
MS\Internal\Annotations\Anchoring\AttachedAnnotation.cs (4)
45internal AttachedAnnotation(LocatorManager manager, Annotation annotation, AnnotationResource anchor, Object attachedAnchor, AttachmentLevel attachmentLevel) 61internal AttachedAnnotation(LocatorManager manager, Annotation annotation, AnnotationResource anchor, Object attachedAnchor, AttachmentLevel attachmentLevel, DependencyObject parent) 129public AnnotationResource Anchor { get { return _anchor; } } 301private AnnotationResource _anchor;
MS\Internal\Annotations\Anchoring\LocatorManager.cs (1)
298foreach (AnnotationResource anchor in annotation.Anchors)
MS\Internal\Annotations\AnnotationResourceCollection.cs (5)
22internal sealed class AnnotationResourceCollection : AnnotationObservableCollection<AnnotationResource> 73List<AnnotationResource> list = new List<AnnotationResource>(this); 88protected override void ProtectedSetItem(int index, AnnotationResource item) 106private void OnCollectionCleared(IEnumerable<AnnotationResource> list)
MS\Internal\Annotations\Component\HighlightComponent.cs (2)
471ICollection<AnnotationResource> cargos = annot.Cargos; 475foreach (AnnotationResource cargo in cargos)
MS\Internal\Annotations\Storage\StoreAnnotationsMap.cs (1)
120foreach (AnnotationResource resource in annotation.Anchors)
MS\Internal\Controls\StickyNote\StickyNoteAnnotations.cs (9)
400private AnnotationResource FindCargo(string cargoName) 402foreach (AnnotationResource cargo in _annotation.Cargos) 429AnnotationResource cargo = FindCargo(GetCargoName(token)); 458SNCAnnotation annotation, XmlToken token, out AnnotationResource cargo, out XmlElement root, out bool newCargo, out bool newRoot) 621private static XmlElement FindRootXmlElement(XmlToken token, AnnotationResource cargo) 670private static object FindContent(XmlToken token, AnnotationResource cargo) 731AnnotationResource cargo = null; 789AnnotationResource cargo; 1311AnnotationResource cargo = new AnnotationResource(SNBConstants.MetaResourceName);
System\Windows\Annotations\AnchorInfo.cs (1)
25AnnotationResource Anchor { get; }
System\Windows\Annotations\Annotation.cs (16)
228foreach (AnnotationResource anchor in _anchors) 241foreach (AnnotationResource cargo in _cargos) 293AnnotationResource anchor = (AnnotationResource)ResourceSerializer.Deserialize(reader); 308AnnotationResource cargo = (AnnotationResource)ResourceSerializer.Deserialize(reader); 469public Collection<AnnotationResource> Anchors 484public Collection<AnnotationResource> Cargos 579_ResourceSerializer = new Serializer(typeof(AnnotationResource)); 693FireResourceEvent((AnnotationResource)sender, AnnotationAction.Modified, CargoChanged); 717foreach (AnnotationResource cargo in e.OldItems) 738foreach (AnnotationResource cargo in changedItems) 747FireResourceEvent((AnnotationResource)sender, AnnotationAction.Modified, AnchorChanged); 771foreach (AnnotationResource anchor in e.OldItems) 792foreach (AnnotationResource anchor in changedItems) 873private void FireResourceEvent(AnnotationResource resource, AnnotationAction action, AnnotationResourceChangedEventHandler handlers)
System\Windows\Annotations\AnnotationDocumentPaginator.cs (1)
386foreach (AnnotationResource anchor in annotation.Anchors)
System\Windows\Annotations\AnnotationHelper.cs (2)
1028AnnotationResource cargo = new AnnotationResource(HighlightComponent.HighlightResourceName); 1060AnnotationResource anchor = new AnnotationResource();
System\Windows\Annotations\AnnotationResourceChangedEventArgs.cs (3)
48public AnnotationResourceChangedEventArgs(Annotation annotation, AnnotationAction action, AnnotationResource resource) 88public AnnotationResource Resource 125private AnnotationResource _resource;
System\Windows\Annotations\AnnotationService.cs (5)
1288foreach (AnnotationResource anchor in annotation.Anchors) 1336private AttachedAnnotationChangedEventArgs AnchorAdded(Annotation annotation, AnnotationResource anchor) 1367private AttachedAnnotationChangedEventArgs AnchorRemoved(Annotation annotation, AnnotationResource anchor) 1402private AttachedAnnotationChangedEventArgs AnchorModified(Annotation annotation, AnnotationResource anchor) 1598private object FindAttachedAnchor(AnnotationResource anchor, out AttachmentLevel attachmentLevel)
System\Windows\Annotations\LocatorGroup.cs (2)
108AnnotationResource.ListSerializer.Serialize(writer, locator); 138ContentLocator locator = (ContentLocator)AnnotationResource.ListSerializer.Deserialize(reader);