Edit

Share via


DocumentViewer.GetPageViewsCollection(Boolean) Method

Definition

Returns a collection of DocumentPageView elements that are currently displayed.

protected:
 override System::Collections::ObjectModel::ReadOnlyCollection<System::Windows::Controls::Primitives::DocumentPageView ^> ^ GetPageViewsCollection([Runtime::InteropServices::Out] bool % changed);
protected override System.Collections.ObjectModel.ReadOnlyCollection<System.Windows.Controls.Primitives.DocumentPageView> GetPageViewsCollection (out bool changed);
override this.GetPageViewsCollection : bool -> System.Collections.ObjectModel.ReadOnlyCollection<System.Windows.Controls.Primitives.DocumentPageView>
Protected Overrides Function GetPageViewsCollection (ByRef changed As Boolean) As ReadOnlyCollection(Of DocumentPageView)

Parameters

changed
Boolean

When this method returns, contains true if the collection of DocumentPageView elements changed after the last call to GetPageViewsCollection(Boolean); otherwise, false.

Returns

The collection of DocumentPageView elements that are currently displayed in the DocumentViewer control.

Applies to