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