Hi Leigh,
Greetings from Syncfusion.
To remove PdfViewerControl from gaining focus when loading the PDF document, we need to set the ActiveControl property of the Form to null in DocumentLoaded event available in the PdfViewerControl. Please find the code snippet below for your reference.
private void PdfViewerControl1_DocumentLoaded(object sender, EventArgs args)
{
this.ActiveControl = null;
} |
Regards,
Sathish