Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

DocumentViewerBase.CanGoToPage Method (Int32)

 

Returns a value that indicates whether or the viewer is able to jump to the specified page number.

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

public virtual bool CanGoToPage(
	int pageNumber
)

Parameters

pageNumber
Type: System.Int32

A page number to check for as a valid jump target.

Return Value

Type: System.Boolean

A Boolean value that indicates whether or the viewer is able to jump to the specified page number.

.NET Framework
Available since 3.0
Return to top
Show:
© 2017 Microsoft