UI

WinForms — Dialogs
The following sample demonstrates how to customize JavaScript Alert dialog by registering custom DialogHandler implementation. Using same technique you can ...
Wed, 24 Jan, 2018 at 2:00 PM
WinForms — Configuring Context Menu
using DotNetBrowser; using DotNetBrowser.WinForms; using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; usi...
Fri, 3 Feb, 2017 at 10:46 AM
WinForms — Custom FullScreen Handler
using DotNetBrowser; using DotNetBrowser.WinForms; using System.Windows.Forms; using System; namespace WinFormsFullScreenHandlerSample {     publi...
Mon, 26 Jun, 2017 at 9:04 AM
WinForms — Handling Keyboard Events
VB.NET Imports DotNetBrowser Imports DotNetBrowser.Events Imports DotNetBrowser.WinForms Public Class Form1     Private browserView As WinFormsBrowse...
Fri, 18 Aug, 2017 at 1:06 PM
WinForms — Using PrintDialog for printing web page
The print handler implementation given below shows print dialog before printing the loaded web page. To learn how to reuse this print handler, please take a...
Tue, 14 Nov, 2017 at 3:14 PM
WPF — Transformations
The following sample demonstrates how to apply RotateTransform to the lightweight WPF control. MainWindow.xaml <Window x:Class="WPF_RotateTrans...
Thu, 2 Feb, 2017 at 6:43 PM
WPF — AllowsTransparency
Note: DotNetBrowser 1.8.2 or higher is required. Heavyweight component does not support AllowsTransparency <Window x:Class="DotnetBrowserTransparen...
Thu, 2 Feb, 2017 at 6:39 PM
WPF — Configuring Context Menu
MainWindow.xaml <Window         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"         xmlns:x="http://schemas.micro...
Thu, 2 Feb, 2017 at 6:41 PM
WPF — UI Automation
Both WinForms and WPF controls in DotNetBrowser provide UI Automation support if they are running in the heavyweight rendering mode. The --force-renderer-ac...
Wed, 12 Apr, 2017 at 9:49 AM
WPF — Transparent Page Sample
DotNetBrowser supports transparent background in HTML documents. This example demonstrates how to create an application window with embedded BrowserView tha...
Thu, 21 Sep, 2017 at 9:28 AM
WPF — Using PrintDialog for printing web page
The print handler implementation given below shows print dialog before printing the loaded web page. To learn how to reuse this print handler, please take a...
Fri, 19 May, 2017 at 6:41 PM
Configuring Spell Checker
using DotNetBrowser; using DotNetBrowser.WPF; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windo...
Tue, 31 Jan, 2017 at 7:31 PM
Disabling Backspace Navigation
By default navigation on Backspace and Shift+Backspace is enabled. In order to disable navigation when user presses Backspace or Shift+Backspace use the fol...
Thu, 2 Feb, 2017 at 6:42 PM
Saving and Blacklisting Passwords
WinForms Form1.cs using System; using System.Windows.Forms; using DotNetBrowser; using DotNetBrowser.WinForms; namespace PasswordSaveSample { ...
Fri, 14 Apr, 2017 at 5:26 PM
Listening to Drag&Drop Events
MainWindow.xaml <Window x:Class="WPF.DragDropSample.MainWindow"         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentat...
Fri, 10 Feb, 2017 at 4:04 PM
Listening to Touch & Gesture Events
MainWindow.xaml <Window xmlns:WPF="clr-namespace:DotNetBrowser.WPF;assembly=DotNetBrowser" x:Class="WPF.GestureEventSample.MainWindow...
Fri, 10 Feb, 2017 at 4:07 PM
Embedding WPFBrowserView into WinForms ElementHost
This sample demonstrates how to embed WPFBrowserView into WinForms ElementHost. The source code of the application form is provided below: public cl...
Thu, 27 Apr, 2017 at 10:58 AM