DocumentPageView.PageNumber Property

 

Gets or sets the page number of the current page displayed.

Namespace:   System.Windows.Controls.Primitives
Assembly:  PresentationFramework (in PresentationFramework.dll)

public int PageNumber { get; set; }

Property Value

Type: System.Int32

The zero-based page number of the current page displayed. The default is 0.

PageNumber is zero-based: 0 is the first page, 1 is the second page, and so on.

No content is displayed if PageNumber is set to a negative number.

Identifier field

PageNumberProperty

Metadata properties set to true

AffectsMeasure

.NET Framework
Available since 3.0
Return to top
Show: