VirtualizingPageCollection ClassDocument Toolkit Help
Represents a virtualizing collection of pages from a single XPS document.
Inheritance Hierarchy

SystemObject
  FirstFloor.DocumentsNotifyPropertyChanged
    FirstFloor.Documents.ControlsVirtualizingPageCollection
      FirstFloor.Documents.ControlsVirtualizingPageThumbnailCollection

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

public class VirtualizingPageCollection : NotifyPropertyChanged, 
	IEnumerable<PageContextBase>, IEnumerable, INotifyCollectionChanged

The VirtualizingPageCollection type exposes the following members.

Properties

  NameDescription
Public propertyDocument
Gets the XPS document.
Top
Methods

  NameDescription
Protected methodCreatePageItem
Creates the page item for specified page content.
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
Gets the enumerator.
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.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodOnPropertyChanged
Raised the PropertyChanged event.
(Inherited from NotifyPropertyChanged.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Events

  NameDescription
Public eventCollectionChanged
Occurs when the items list of the collection has changed, or the collection is reset.
Public eventPropertyChanged
Occurs when a property value changes.
(Inherited from NotifyPropertyChanged.)
Top
Remarks

The VirtualizingPageCollection provides access to all pages of an XPS document and only keeps the fixed pages in memory that are in use. The collection uses the DocumentDataSource internally to perform on-demand asynchronous fixed page loads.

See Also

Reference