4 instantiations of AnnotationResource
PresentationFramework (4)
src\Framework\MS\Internal\Controls\StickyNote\StickyNoteAnnotations.cs (2)
503
cargo = new
AnnotationResource
(cargoName);
1337
AnnotationResource cargo = new
AnnotationResource
(SNBConstants.MetaResourceName);
src\Framework\System\Windows\Annotations\AnnotationHelper.cs (2)
1051
AnnotationResource cargo = new
AnnotationResource
(HighlightComponent.HighlightResourceName);
1083
AnnotationResource anchor = new
AnnotationResource
();
52 references to AnnotationResource
PresentationFramework (52)
src\Framework\MS\Internal\Annotations\Anchoring\AttachedAnnotation.cs (4)
56
internal AttachedAnnotation(LocatorManager manager, Annotation annotation,
AnnotationResource
anchor, Object attachedAnchor, AttachmentLevel attachmentLevel)
72
internal AttachedAnnotation(LocatorManager manager, Annotation annotation,
AnnotationResource
anchor, Object attachedAnchor, AttachmentLevel attachmentLevel, DependencyObject parent)
140
public
AnnotationResource
Anchor { get { return _anchor; } }
312
private
AnnotationResource
_anchor;
src\Framework\MS\Internal\Annotations\Anchoring\LocatorManager.cs (1)
337
foreach (
AnnotationResource
anchor in annotation.Anchors)
src\Framework\MS\Internal\Annotations\AnnotationResourceCollection.cs (5)
33
internal sealed class AnnotationResourceCollection : AnnotationObservableCollection<
AnnotationResource
>
84
List<
AnnotationResource
> list = new List<
AnnotationResource
>(this);
99
protected override void ProtectedSetItem(int index,
AnnotationResource
item)
117
void OnCollectionCleared(IEnumerable<
AnnotationResource
> list)
src\Framework\MS\Internal\Annotations\Component\HighlightComponent.cs (2)
499
ICollection<
AnnotationResource
> cargos = annot.Cargos;
503
foreach (
AnnotationResource
cargo in cargos)
src\Framework\MS\Internal\Annotations\Storage\StoreAnnotationsMap.cs (1)
135
foreach (
AnnotationResource
resource in annotation.Anchors)
src\Framework\MS\Internal\Controls\StickyNote\StickyNoteAnnotations.cs (9)
417
private
AnnotationResource
FindCargo(string cargoName)
419
foreach (
AnnotationResource
cargo in _annotation.Cargos)
446
AnnotationResource
cargo = FindCargo(GetCargoName(token));
475
SNCAnnotation annotation, XmlToken token, out
AnnotationResource
cargo, out XmlElement root, out bool newCargo, out bool newRoot)
638
private static XmlElement FindRootXmlElement(XmlToken token,
AnnotationResource
cargo)
687
private static object FindContent(XmlToken token,
AnnotationResource
cargo)
749
AnnotationResource
cargo = null;
807
AnnotationResource
cargo;
1337
AnnotationResource
cargo = new AnnotationResource(SNBConstants.MetaResourceName);
src\Framework\System\Windows\Annotations\AnchorInfo.cs (1)
40
AnnotationResource
Anchor { get; }
src\Framework\System\Windows\Annotations\Annotation.cs (16)
258
foreach (
AnnotationResource
anchor in _anchors)
271
foreach (
AnnotationResource
cargo in _cargos)
326
AnnotationResource
anchor = (
AnnotationResource
)ResourceSerializer.Deserialize(reader);
341
AnnotationResource
cargo = (
AnnotationResource
)ResourceSerializer.Deserialize(reader);
502
public Collection<
AnnotationResource
> Anchors
517
public Collection<
AnnotationResource
> Cargos
612
_ResourceSerializer = new Serializer(typeof(
AnnotationResource
));
722
FireResourceEvent((
AnnotationResource
)sender, AnnotationAction.Modified, CargoChanged);
746
foreach (
AnnotationResource
cargo in e.OldItems)
767
foreach (
AnnotationResource
cargo in changedItems)
776
FireResourceEvent((
AnnotationResource
)sender, AnnotationAction.Modified, AnchorChanged);
800
foreach (
AnnotationResource
anchor in e.OldItems)
821
foreach (
AnnotationResource
anchor in changedItems)
902
private void FireResourceEvent(
AnnotationResource
resource, AnnotationAction action, AnnotationResourceChangedEventHandler handlers)
src\Framework\System\Windows\Annotations\AnnotationDocumentPaginator.cs (1)
399
foreach (
AnnotationResource
anchor in annotation.Anchors)
src\Framework\System\Windows\Annotations\AnnotationHelper.cs (2)
1051
AnnotationResource
cargo = new AnnotationResource(HighlightComponent.HighlightResourceName);
1083
AnnotationResource
anchor = new AnnotationResource();
src\Framework\System\Windows\Annotations\AnnotationResourceChangedEventArgs.cs (3)
55
public AnnotationResourceChangedEventArgs(Annotation annotation, AnnotationAction action,
AnnotationResource
resource)
99
public
AnnotationResource
Resource
136
private
AnnotationResource
_resource;
src\Framework\System\Windows\Annotations\AnnotationService.cs (5)
1346
foreach (
AnnotationResource
anchor in annotation.Anchors)
1394
private AttachedAnnotationChangedEventArgs AnchorAdded(Annotation annotation,
AnnotationResource
anchor)
1425
private AttachedAnnotationChangedEventArgs AnchorRemoved(Annotation annotation,
AnnotationResource
anchor)
1460
private AttachedAnnotationChangedEventArgs AnchorModified(Annotation annotation,
AnnotationResource
anchor)
1656
private object FindAttachedAnchor(
AnnotationResource
anchor, out AttachmentLevel attachmentLevel)
src\Framework\System\Windows\Annotations\LocatorGroup.cs (2)
128
AnnotationResource
.ListSerializer.Serialize(writer, locator);
161
ContentLocator locator = (ContentLocator)
AnnotationResource
.ListSerializer.Deserialize(reader);