DocumentViewerBase.CanGoToPage Method (Int32)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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 Overridable Function CanGoToPage (
	pageNumber As Integer
) As Boolean

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: