DocumentViewerBase.PageViews 属性

定义

重要

此 API 不符合 CLS。

获取查看器所包含的活动 DocumentPageView 对象的只读集合。Gets a read-only collection of the active DocumentPageView objects contained within the viewer.

public:
 property System::Collections::ObjectModel::ReadOnlyCollection<System::Windows::Controls::Primitives::DocumentPageView ^> ^ PageViews { System::Collections::ObjectModel::ReadOnlyCollection<System::Windows::Controls::Primitives::DocumentPageView ^> ^ get(); };
[System.CLSCompliant(false)]
public System.Collections.ObjectModel.ReadOnlyCollection<System.Windows.Controls.Primitives.DocumentPageView> PageViews { get; }
member this.PageViews : System.Collections.ObjectModel.ReadOnlyCollection<System.Windows.Controls.Primitives.DocumentPageView>
Public ReadOnly Property PageViews As ReadOnlyCollection(Of DocumentPageView)

属性值

查看器所包含的活动 DocumentPageView 对象的只读集合。A read-only collection of the active DocumentPageView objects contained within the viewer.

此属性没有默认值。This property has no default value.

属性

注解

DocumentPageView 为特定的内容页(由基础 DocumentPage表示)提供视区。A DocumentPageView provides a viewport for a particular page of content (represented by an underlying DocumentPage). 查看器使用 PageViews 属性表示的 DocumentPageView 对象集来显示内容。The set of DocumentPageView objects represented by the PageViews property is used by the viewer in order to display content.

母版页对应于包含值为 "true" 的 IsMasterPage 附加属性的 DocumentPageView 对象(在 PageViews 集合中)。The master page corresponds to the DocumentPageView object (in the PageViews collection) that includes the IsMasterPage attached property with a value of true. 有关详细信息,请参阅 IsMasterPageFor more information, see IsMasterPage.

适用于