Rank: Advanced Member Groups: Member
Joined: 3/10/2020 Posts: 59
|
Hi, We are using EO webbrowser( 20.3.34.0) in our WPF application. Our end user tying to use CTRL+F to find text in webpage like how Chrome browser shows find dialog when user press CTRL+F. Is EO browser support this feature? Is EO browser have any inbuilt find dialog which can be show to user on pressing CTRL+F keys?
Thanks.
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,217
|
Hi,
EO.WebBrowser does have built-in find support but it does not have any built-in shortcut or UI for that because different application may have different shortcuts and UI implemenation. As such you would need to implement shortcut and UI elements and then call the corresponding find method on the WebView from your UI. You can find sample code on how to do this in TabbedBrowser sample application. The implemenation is inside MainWindow.xaml. The shortcut is defined with Window.InputBindings and Window.CommandBindings, where as the UI is implemented as a StackPanel with id "panFind".
If you still have any questions please feel free to ask.
Thanks!
|