TextBoxBase.PageUp Method ()

 

Scrolls the contents of the control up by one page.

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

Public Sub PageUp

The following example demonstrates how to use the PageUp method to scroll the contents of a TextBox control.

Private Sub pageUp(ByVal sender As Object, ByVal e As RoutedEventArgs)
    myTextBox.PageUp()
End Sub

.NET Framework
Available since 3.0
Return to top
Show: