通过


DocumentViewerBase.PageViews 属性

定义

重要

此 API 不符合 CLS。

获取查看器中包含的活动 DocumentPageView 对象的只读集合。

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; }
[<System.CLSCompliant(false)>]
member this.PageViews : System.Collections.ObjectModel.ReadOnlyCollection<System.Windows.Controls.Primitives.DocumentPageView>
Public ReadOnly Property PageViews As ReadOnlyCollection(Of DocumentPageView)

属性值

查看器中包含的活动 DocumentPageView 对象的只读集合。

此属性没有默认值。

属性

注解

DocumentPageView 特定内容页面(由基础 DocumentPage表示)提供视区。 查看器使用属性表示PageViews的对象DocumentPageView集以显示内容。

母版页对应于DocumentPageView包含IsMasterPage值为的附加属性true的对象(集合PageViews中)。 有关详细信息,请参阅 IsMasterPage

适用于