Annotation Class
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Represents a user annotation in the Microsoft Annotations Framework.

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

SystemObject
  System.Windows.AnnotationsAnnotation

public sealed class Annotation : IXmlSerializable
public ref class Annotation sealed : IXmlSerializable
[<Sealed>]
type Annotation = 
    class
        interface IXmlSerializable
    end
Public NotInheritable Class Annotation
	Implements IXmlSerializable
NameDescription
System_CAPS_pubmethod Annotation

This constructor supports the Windows Presentation Foundation (WPF) infrastructure and is not intended to be used directly from your code.

System_CAPS_pubmethod Annotation

Initializes a new instance of the Annotation class that has a specified type name and namespace.

System_CAPS_pubmethod Annotation

This constructor supports the Windows Presentation Foundation (WPF) infrastructure and is not intended to be used directly from your code.

NameDescription
System_CAPS_pubproperty

Gets a collection of zero or more AnnotationResource anchor elements that define the data selection(s) being annotated.

System_CAPS_pubproperty

Gets the XmlQualifiedName of the annotation type.

System_CAPS_pubproperty

Gets a collection of zero or more author strings that identify who created the Annotation.

System_CAPS_pubproperty

Gets a collection of zero or more AnnotationResource cargo elements that contain data for the annotation.

System_CAPS_pubproperty

Gets the date and the time that the annotation was created.

System_CAPS_pubproperty

Gets the globally unique identifier (GUID) of the Annotation.

System_CAPS_pubproperty

Gets the date and the time that the annotation was last modified.

NameDescription
System_CAPS_pubmethod Equals

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_pubmethod GetHashCode

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethod GetSchema

Always returns null. See Annotations Schema for schema details.

System_CAPS_pubmethod GetType

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethod ReadXml

Deserializes the Annotation from a specified XmlReader.

System_CAPS_pubmethod ToString

Returns a string that represents the current object.(Inherited from Object.)

System_CAPS_pubmethod WriteXml

Serializes the annotation to a specified XmlWriter.

NameDescription
System_CAPS_pubevent AnchorChanged

Occurs when an anchor is added, removed, or modified in the list of annotation .

System_CAPS_pubevent AuthorChanged

Occurs when an author is added, removed, or modified in the list of annotation .

System_CAPS_pubevent CargoChanged

Occurs when a cargo is added, removed, or modified in the list of annotation .

Annotation represents a single annotation with all associated anchoring and content data. An annotation consists of the following main elements.

  • Zero, one, or more that identify what is being annotated.

  • Zero, one, or more that contain the user data for the annotation.

  • Zero, one, or more that define who created the annotation.

  • A that specifies the date and time when the annotation was created.

  • A that specifies when the annotation was last updated.

  • A unique annotation (a globally unique identifier (GUID)).

.NET Framework
Available since 3.0

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

Return to top