DocumentViewer.GetPageViewsCollection(Boolean) 方法

定义

返回当前显示的 DocumentPageView 元素的集合。

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)

参数

changed
Boolean

当此方法返回时,如果 DocumentPageView 元素的集合自上次调用 GetPageViewsCollection(Boolean) 后发生变化,则包含 true;否则包含 false

返回

DocumentPageView 控件中当前显示的 DocumentViewer 元素的集合。

适用于