AnnotationResource Class

AnnotationResource Class

 

Represents a content anchor or cargo resource for an Annotation.

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

System.Object
  System.Windows.Annotations.AnnotationResource

public sealed class AnnotationResource : IXmlSerializable, INotifyPropertyChanged

NameDescription
System_CAPS_pubmethodAnnotationResource()

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

System_CAPS_pubmethodAnnotationResource(Guid)

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

System_CAPS_pubmethodAnnotationResource(String)

Initializes a new instance of the AnnotationResource class with a specified name.

NameDescription
System_CAPS_pubpropertyContentLocators

Gets the collection of ContentLocatorBase elements contained in this resource.

System_CAPS_pubpropertyContents

Gets a collection of the XmlElement objects that define the content of this resource.

System_CAPS_pubpropertyId

Gets the GUID of this resource.

System_CAPS_pubpropertyName

Gets or sets a name for this AnnotationResource.

NameDescription
System_CAPS_pubmethodEquals(Object)

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

System_CAPS_pubmethodGetHashCode()

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

System_CAPS_pubmethodGetSchema()

Always returns null. See Annotations Schema for schema details.

System_CAPS_pubmethodGetType()

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

System_CAPS_pubmethodReadXml(XmlReader)

Deserializes the AnnotationResource from a specified XmlReader.

System_CAPS_pubmethodToString()

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

System_CAPS_pubmethodWriteXml(XmlWriter)

Serializes the AnnotationResource to a specified XmlWriter.

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_priveventINotifyPropertyChanged.PropertyChanged

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

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.

.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
Show:
© 2016 Microsoft