Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

AnnotationResource Class

Represents a content anchor or cargo resource for an Annotation.

Namespace: System.Windows.Annotations
Assembly: PresentationFramework (in presentationframework.dll)

Public NotInheritable Class AnnotationResource
	Implements IXmlSerializable, INotifyPropertyChanged
Dim instance As AnnotationResource

public final class AnnotationResource implements IXmlSerializable, INotifyPropertyChanged
public final class AnnotationResource implements IXmlSerializable, INotifyPropertyChanged
<AnnotationResource .../>

AnnotationResource elements are used to model Anchors (the data that is being annotated) and Cargos (the data provided by the user such as a text note) in an Annotation.

Through the use of ContentLocators an AnnotationResource can refer to the content, directly contain the content, or both.


Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0

Community Additions

© 2015 Microsoft