4 instantiations of AnnotationResource
PresentationFramework (4)
MS\Internal\Controls\StickyNote\StickyNoteAnnotations.cs (2)
487cargo = new AnnotationResource(cargoName); 1312AnnotationResource cargo = new AnnotationResource(SNBConstants.MetaResourceName);
System\Windows\Annotations\AnnotationHelper.cs (2)
1031AnnotationResource cargo = new AnnotationResource(HighlightComponent.HighlightResourceName); 1063AnnotationResource anchor = new AnnotationResource();
52 references to AnnotationResource
PresentationFramework (52)
MS\Internal\Annotations\Anchoring\AttachedAnnotation.cs (4)
46internal AttachedAnnotation(LocatorManager manager, Annotation annotation, AnnotationResource anchor, Object attachedAnchor, AttachmentLevel attachmentLevel) 62internal AttachedAnnotation(LocatorManager manager, Annotation annotation, AnnotationResource anchor, Object attachedAnchor, AttachmentLevel attachmentLevel, DependencyObject parent) 130public AnnotationResource Anchor { get { return _anchor; } } 302private AnnotationResource _anchor;
MS\Internal\Annotations\Anchoring\LocatorManager.cs (1)
310foreach (AnnotationResource anchor in annotation.Anchors)
MS\Internal\Annotations\AnnotationResourceCollection.cs (5)
23internal sealed class AnnotationResourceCollection : AnnotationObservableCollection<AnnotationResource> 74List<AnnotationResource> list = new List<AnnotationResource>(this); 89protected override void ProtectedSetItem(int index, AnnotationResource item) 107void OnCollectionCleared(IEnumerable<AnnotationResource> list)
MS\Internal\Annotations\Component\HighlightComponent.cs (2)
472ICollection<AnnotationResource> cargos = annot.Cargos; 476foreach (AnnotationResource cargo in cargos)
MS\Internal\Annotations\Storage\StoreAnnotationsMap.cs (1)
121foreach (AnnotationResource resource in annotation.Anchors)
MS\Internal\Controls\StickyNote\StickyNoteAnnotations.cs (9)
401private AnnotationResource FindCargo(string cargoName) 403foreach (AnnotationResource cargo in _annotation.Cargos) 430AnnotationResource cargo = FindCargo(GetCargoName(token)); 459SNCAnnotation annotation, XmlToken token, out AnnotationResource cargo, out XmlElement root, out bool newCargo, out bool newRoot) 622private static XmlElement FindRootXmlElement(XmlToken token, AnnotationResource cargo) 671private static object FindContent(XmlToken token, AnnotationResource cargo) 732AnnotationResource cargo = null; 790AnnotationResource cargo; 1312AnnotationResource cargo = new AnnotationResource(SNBConstants.MetaResourceName);
System\Windows\Annotations\AnchorInfo.cs (1)
26AnnotationResource Anchor { get; }
System\Windows\Annotations\Annotation.cs (16)
229foreach (AnnotationResource anchor in _anchors) 242foreach (AnnotationResource cargo in _cargos) 294AnnotationResource anchor = (AnnotationResource)ResourceSerializer.Deserialize(reader); 309AnnotationResource cargo = (AnnotationResource)ResourceSerializer.Deserialize(reader); 470public Collection<AnnotationResource> Anchors 485public Collection<AnnotationResource> Cargos 580_ResourceSerializer = new Serializer(typeof(AnnotationResource)); 690FireResourceEvent((AnnotationResource)sender, AnnotationAction.Modified, CargoChanged); 714foreach (AnnotationResource cargo in e.OldItems) 735foreach (AnnotationResource cargo in changedItems) 744FireResourceEvent((AnnotationResource)sender, AnnotationAction.Modified, AnchorChanged); 768foreach (AnnotationResource anchor in e.OldItems) 789foreach (AnnotationResource anchor in changedItems) 870private void FireResourceEvent(AnnotationResource resource, AnnotationAction action, AnnotationResourceChangedEventHandler handlers)
System\Windows\Annotations\AnnotationDocumentPaginator.cs (1)
383foreach (AnnotationResource anchor in annotation.Anchors)
System\Windows\Annotations\AnnotationHelper.cs (2)
1031AnnotationResource cargo = new AnnotationResource(HighlightComponent.HighlightResourceName); 1063AnnotationResource anchor = new AnnotationResource();
System\Windows\Annotations\AnnotationResourceChangedEventArgs.cs (3)
49public AnnotationResourceChangedEventArgs(Annotation annotation, AnnotationAction action, AnnotationResource resource) 89public AnnotationResource Resource 126private AnnotationResource _resource;
System\Windows\Annotations\AnnotationService.cs (5)
1294foreach (AnnotationResource anchor in annotation.Anchors) 1342private AttachedAnnotationChangedEventArgs AnchorAdded(Annotation annotation, AnnotationResource anchor) 1373private AttachedAnnotationChangedEventArgs AnchorRemoved(Annotation annotation, AnnotationResource anchor) 1408private AttachedAnnotationChangedEventArgs AnchorModified(Annotation annotation, AnnotationResource anchor) 1604private object FindAttachedAnchor(AnnotationResource anchor, out AttachmentLevel attachmentLevel)
System\Windows\Annotations\LocatorGroup.cs (2)
109AnnotationResource.ListSerializer.Serialize(writer, locator); 139ContentLocator locator = (ContentLocator)AnnotationResource.ListSerializer.Deserialize(reader);