Searching in WinForms HTML Viewer control
18 Nov 20181 minute to read
Like in popular browsers, the WinForms HTML Viewer control helps the users to search for a given text in the document displayed in the control. It uses the DisplayFindForm method for this purpose. This feature comes with an Updown search and also the Match case search that helps the user to easily find the required text from the displayed document.
The Ctrl+F shortcut can also be used for enabling this feature.
// Display the Find form for searching the text content of the HTMLUI control's current document
this.htmluiControl1.DisplayFindForm();// Display the Find form for searching the text content of the HTMLUI control's current document
Me.htmluiControl1.DisplayFindForm()WinForms HTML Viewer Searching sample
This sample shows how a text can be searched in a document loaded into the WinForms HTML Viewer.
