AnnotationStore ClassDocument Toolkit Help
Represents a data store for writing and reading user annotations.
Inheritance Hierarchy

SystemObject
  System.Collections.ObjectModelCollectionAnnotation
    System.Collections.ObjectModelObservableCollectionAnnotation
      FirstFloor.Documents.Annotations.StorageAnnotationStore

Namespace: FirstFloor.Documents.Annotations.Storage
Assembly: FirstFloor.Documents (in FirstFloor.Documents.dll) Version: 2.5.0.0 (2.5.11.0)
Syntax

public class AnnotationStore : ObservableCollection<Annotation>, 
	IEditableObject

The AnnotationStore type exposes the following members.

Constructors

  NameDescription
Public methodAnnotationStore
Initializes an empty instance of the AnnotationStore class.
Top
Properties

  NameDescription
Public propertyCount (Inherited from CollectionAnnotation.)
Public propertyItem
Gets or sets the element at the specified index.
(Inherited from CollectionAnnotation.)
Protected propertyItems (Inherited from CollectionAnnotation.)
Top
Methods

  NameDescription
Public methodAdd (Inherited from CollectionAnnotation.)
Public methodBeginEdit
Causes the object to enter editing mode.
Public methodCancelEdit
Causes the object to leave editing mode and revert to the previous, unedited value.
Public methodClear (Inherited from CollectionAnnotation.)
Protected methodClearItems
Removes all items from the collection.
(Inherited from ObservableCollectionAnnotation.)
Public methodContains (Inherited from CollectionAnnotation.)
Public methodCopyTo (Inherited from CollectionAnnotation.)
Public methodEndEdit
Causes the object to leave editing mode and commit the edited value.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetEnumerator (Inherited from CollectionAnnotation.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIndexOf (Inherited from CollectionAnnotation.)
Public methodInsert (Inherited from CollectionAnnotation.)
Protected methodInsertItem
Inserts an item into the collection at the specified index.
(Inherited from ObservableCollectionAnnotation.)
Public methodLoad
Clears the current store and loads annotations from specified stream.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodOnAnnotationPropertyChanged
Called when a property of an annotation has changed.
Protected methodOnCollectionChanged
Raises the CollectionChanged event with the provided event data.
(Overrides ObservableCollectionTOnCollectionChanged(NotifyCollectionChangedEventArgs).)
Protected methodOnPropertyChanged
Raises the PropertyChanged event with the provided arguments.
(Inherited from ObservableCollectionAnnotation.)
Public methodRegisterFactory
Registers an annotation factory.
Public methodRemove (Inherited from CollectionAnnotation.)
Public methodRemoveAt (Inherited from CollectionAnnotation.)
Protected methodRemoveItem
Removes the item at the specified index from the collection.
(Inherited from ObservableCollectionAnnotation.)
Public methodSave
Saves the contents of this annotation store to specified stream.
Protected methodSetItem
Replaces the item at the specified index.
(Inherited from ObservableCollectionAnnotation.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Events

  NameDescription
Public eventChanged
Occurs when the store itself or an individual annotation property in this store has changed.
Public eventCollectionChanged
Occurs when an item in the collection changes, or the entire collection changes.
(Inherited from ObservableCollectionAnnotation.)
Protected eventPropertyChanged
Occurs when a property on an individual item in the collection changes.
(Inherited from ObservableCollectionAnnotation.)
Top
Fields

  NameDescription
Public fieldStatic memberNamespaceAnnotations
The annotations namespace.
Top
See Also

Reference