401
  • DotNetBrowser – a Webkit Сontrol for C# WPF and Windows Forms

    4,705 views 2 years ago
    This overview shows functions of the DotNetBrowser – the library which allows embedding a Chromium-based browser into a .NET application. Here are just a few to name:
    1) Interaction with the JavaScript side.
    2) Controlling the behaviour of popup windows.
    3) Playback of HTML5 videos.
    4) Modifying proxy settings on the fly by specifying the custom proxy rules or loading a PAC-file.
    5) Printing web pages and monitoring the printing process using the default XPS printer and the resulting OXPS file.
    See more in the video.

    Get a free 30-days DotNetBrowser trial licence:
    https://www.teamdev.com/dot......

    For the latest version of the DotNetBrowser.Samples, download the library from the official page:
    https://www.teamdev.com/dot......

    Previous tutorials:

    How to get DotNetBrowser Evaluation Licence
    https://www.youtube.com/wat......

    How to Add a Browser Component to WPF Application
    https://www.youtube.com/wat......

    How to Create HTML UI for WPF Application Using DotNetBrowser
    https://www.youtube.com/wat......

    How to Add a Browser Component to a Windows Forms Application
    https://www.youtube.com/wat......

    Executing JavaScript from the .NET Side Using DotNetBrowser
    https://www.youtube.com/wat......

    Injecting a .NET Object into JavaScript Using DotNetBrowser
    https://www.youtube.com/wat......

    Transсript:

    00:10 DotNetBrowser is a Webkit control for C# WPF and Windows Forms

    00:15 The window you can see is version 1.12 of the DotNetBrowser WPF demo application. This version is based on version 60 of the Chromium Engine.

    00:24 Html5test.com is loaded in the app.

    00:32 As you can see, DotNetBrowser supports almost all the features and aspects of the HTML5 standard.

    00:40 DotNetBrowser allows you to embed a Chromium-based browser into a .NET application.

    00:52 Now you can see the official website of the DotNetBrowser library which is displayed inside the WPF application.

    00:57 DotNetBrowser is based on the Chromium engine, so it displays web pages with HTML5 and CSS3 properly, unlike the default WebBrowser component.

    01:00 DotNetBrowser has a lot of built-in features, almost all of which can be customized to suit your needs.

    01:11 You can find a list of some features by clicking the gear button in the right top corner of the application.

    01:17 DotNetBrowser allows you to interact with the JavaScript side.

    01:23 You can easily obtain the whole HTML code of a page by calling a single method.

    01:34 There is a built-in capability of using the basic browser commands like text selection, text search, cutting, copying and so on.

    01:59 In DotNetBrowser you can also control the behaviour of popup windows. The web page you see is intended for popup testing.

    02:16 DotNetBrowser lets you control file download and upload processes.

    02:29 Also you can use JavaScript dialog windows like prompts, alerts or confirmations.

    02:51 DotNetBrowser has built-in capability to display and save PDF documents.

    02:55 DotNetBrowser supports the playback of HTML5 videos. Also there is a built-in fullscreen handler.

    03:14 You can control the zoom by setting the zoom level, or by using the predefined zoom-in, zoom-out and set-actual-size functions.

    03:26 DotNetBrowser allows you to modify proxy settings on the fly by specifying the custom proxy rules or loading a PAC-file.

    03:41 And here is the functionality for printing web pages.

    04:19 Now you can see the source code of the main window of the app which I used in the first part of this video.

    04:25 DotNetBrowser lets you simulate user input events like mouse clicks, scrolling, typing from a keyboard or clicking on DOM nodes.

    04:32 Lets mark the DOMSimulateClickSample project as the startup project.

    05:00 The JavaScriptCSBridgeSample demonstrates how to inject a DotNet object into JavaScript code.

    05:20 Now let’s take a look at the drag and drop sample.
    DotNetBrowser lets you control the drag and drop process in the application.

    05:50 One of the most valuable features of DotNetBrowser is taking screenshots.

    06:22 DotNetBrowser also supports Windows Forms. There is a separate demo application which uses WinForms.

    #DotNetBrowsers
    #Webkit
    #C#
    #WinForms Show less
    Read more
  • DotNetBrowser Play all

    Learn how to Integrate a Chromium-based browser with your .NET app to display and process HTML5, CSS3, JavaScript, Flash etc.
    This item has been hidden
  • CefSharp Play all

    This item has been hidden
  • This item has been hidden
to add this to Watch Later

Add to

Loading playlists...