Working with ScrollHead in Xamarin Pdf Viewer (SfPdfViewer)
19 May 20211 minute to read
The scroll head in the Xamarin PDF Viewer allows users to easily scroll through and navigate to destination page in the PDF document. ScrollHead always appears on the right side of PDF Viewer.
Enabling and disabling ScrollHead
By setting the
EnableScrollHead property of the PdfViewerControl instance to false, you can disable the scroll head.
|EnableScrollHead||Gets or sets the value that enable and disable the ScrollHead feature in PDF Viewer. By default, this property is set to true.|
<pdfviewer:SfPdfViewer x:Name="pdfViewerControl" EnableScrollHead="False"/>
//Disables the scroll head pdfViewerControl.EnableScrollHead = false;
Navigate to a desired page using ScrollHead
PDF Viewer allows users to navigate to a desired destination page using ScrollHead. On tapping the ScrollHead of PDF Viewer, a page navigation pop-up will appear and users can navigate to the destination page by entering a valid page number.
You can also explore our Xamarin.Forms PDF Viewer example to knows the functionalities of each feature.