DocumentViewerBase.PageViews Property

Definition

Important

This API is not CLS-compliant.

Gets a read-only collection of the active DocumentPageView objects contained within the viewer.

C#
[System.CLSCompliant(false)]
public System.Collections.ObjectModel.ReadOnlyCollection<System.Windows.Controls.Primitives.DocumentPageView> PageViews { get; }

Property Value

A read-only collection of the active DocumentPageView objects contained within the viewer.

This property has no default value.

Attributes

Remarks

A DocumentPageView provides a viewport for a particular page of content (represented by an underlying DocumentPage). The set of DocumentPageView objects represented by the PageViews property is used by the viewer in order to display content.

The master page corresponds to the DocumentPageView object (in the PageViews collection) that includes the IsMasterPage attached property with a value of true. For more information, see IsMasterPage.

Applies to

Produkt Verzie
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10