System.Windows.Annotations Namespace

Provides classes to support user-created annotations on content displayed in WPF document viewing controls.

Types in the System.Windows.Annotations namespace are provided to support the management of user-created annotations on application data displayed in Windows Presentation Foundation (WPF) document viewing controls. Using the Microsoft Annotations Framework applications can add support for user-created notes and highlights that are stored separate from the application document itself. Since the user annotation information is stored separately from the document content, users can even add notes and highlights to read-only or rights-managed documents that cannot be physically changed.

The WPF document viewing controls that support user-annotation capabilities are based on DocumentViewerBase derived subclasses such as DocumentViewer, FlowDocumentPageViewer, and FlowDocumentScrollViewer as well as FlowDocumentReader.

  ClassDescription
Public classAnnotationRepresents a user annotation in the Microsoft Annotations Framework.
Public classAnnotationAuthorChangedEventArgs Provides data for the AuthorChanged event.
Public classAnnotationDocumentPaginatorProvides a DocumentPaginator for printing a document together with its associated annotations.
Public classAnnotationHelperProvides utility methods and commands to create and delete highlight, ink sticky note, and text sticky note annotations.
Public classAnnotationResourceRepresents a content anchor or cargo resource for an Annotation.
Public classAnnotationResourceChangedEventArgsProvides data for the AnchorChanged and CargoChanged events.
Public classAnnotationServiceProvides core services of the Microsoft Annotations Framework to manage and display user annotations.
Public classContentLocatorRepresents an ordered set of ContentLocatorPart elements that identify an item of content.
Public classContentLocatorBaseRepresents an object that identifies an item of content.
Public classContentLocatorGroupRepresents an ordered set of ContentLocator elements that identify an item of content.
Public classContentLocatorPartRepresents a set of name/value pairs that identify an item of content.
Public classTextAnchorRepresents a selection of content that an annotation is anchored to.

  InterfaceDescription
Public interfaceIAnchorInfoProvides the capabilities for matching annotations with the corresponding annotated objects.

  DelegateDescription
Public delegateAnnotationAuthorChangedEventHandlerRepresents the method that handles the AuthorChanged event raised by the Annotation class.
Public delegateAnnotationResourceChangedEventHandlerRepresents the method that handles the AnchorChanged or CargoChanged events raised by the Annotation class.

  EnumerationDescription
Public enumerationAnnotationActionSpecifies the actions that occur with Annotation author, anchor, and cargo resources.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft