UI

WinForms — Dialogs
The following sample demonstrates how to customize JavaScript Alert dialog by registering custom DialogHandler implementation. Using same technique you can ...
Fri, 12 Oct, 2018 at 9:46 AM
WinForms — Configuring Context Menu
C# using DotNetBrowser; using DotNetBrowser.WinForms; using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using...
Fri, 12 Oct, 2018 at 9:52 AM
WinForms — Custom FullScreen Handler
C# using DotNetBrowser; using DotNetBrowser.WinForms; using System.Windows.Forms; using System; namespace WinFormsFullScreenHandlerSample {     public pa...
Fri, 12 Oct, 2018 at 9:53 AM
WinForms — Handling Keyboard Events
C# using DotNetBrowser.WinForms; using System.Diagnostics; using System.Windows.Forms; namespace WindowsFormsApplication1 {     public partial class Form1...
Fri, 12 Oct, 2018 at 9:55 AM
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...
Fri, 12 Oct, 2018 at 9:58 AM
WPF — Transformations
The following sample demonstrates how to apply RotateTransform to the lightweight WPF control. MainWindow.xaml <Window x:Class="WPF_RotateTrans...
Fri, 12 Oct, 2018 at 11:02 AM
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.microso...
Fri, 12 Oct, 2018 at 3:36 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...
Fri, 12 Oct, 2018 at 4:48 PM
WPF — Transparent Page Sample
DotNetBrowser supports transparent background in HTML documents. This example demonstrates how to create an application window with embedded BrowserView tha...
Fri, 12 Oct, 2018 at 5:06 PM
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, 12 Oct, 2018 at 5:13 PM
Configuring Spell Checker
C# using DotNetBrowser; using DotNetBrowser.WPF; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows...
Fri, 12 Oct, 2018 at 5:18 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...
Fri, 12 Oct, 2018 at 5:25 PM
Saving and Blacklisting Passwords
WinForms C# Form1.cs using System; using System.Windows.Forms; using DotNetBrowser; using DotNetBrowser.WinForms; namespace PasswordSaveSample {     pub...
Fri, 12 Oct, 2018 at 6:02 PM
Listening to Drag&Drop Events
MainWindow.xaml <Window x:Class="WPF.DragDropSample.MainWindow"         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation&...
Fri, 12 Oct, 2018 at 5:32 PM
Listening to Touch & Gesture Events
MainWindow.xaml <Window xmlns:WPF="clr-namespace:DotNetBrowser.WPF;assembly=DotNetBrowser"  x:Class="WPF.GestureEventSample.MainWindow&qu...
Fri, 12 Oct, 2018 at 5:40 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: C# public c...
Fri, 12 Oct, 2018 at 5:50 PM