Table of Contents
TabbedBrowser sample application

EO.WebBrowser includes a full featured TabbedBrowser sample application that mirrors the basic UI elements of a regular web browser. If you download and install the full installer package from our download page, you can find the C# and VB.NET source code of the sample application in "Samples/CS/WebBrowser/TabbedBrowser" and "Samples/VB/WebBrowser/TabbedBrowser" directory inside the installation directory respectively.

The TabbedBrowser sample application is based on WPF. However it is important to understand that:

  • EO.WebBrowser powers the web page area of the sample application. all other UI elements (such as the tabbed interface, the docking view interface, the address bar, the status bar, etc) are NOT part of EO.WebBrowser. They are a part of the sample application;
  • The web page area is represented by a EO.WebBrowser.WebView object. This class is platform neutral ---- it does not have anything to do with WPF or Windows Forms. Most of the code that interacts with EO.WebBrowser product interacts with this class. Because this class is platform neutral, it means the code that interacts with the WebView class is typically platform neutral as well. In the sample application, you can find the code that interacts with the WebView class mainly inside MainWindow.xaml.cs/MainWindow.xaml.vb inside "WebView Related Functions/Handlers";
  • Creating an instance of the WebView class requires a window handle. To simplify this task, we do provide a thin helper WebControl class for both Windows Forms (EO.WinForm.WebControl class) and WPF (EO.Wpf.WebControl class). The main purpose of these two classes is to simplify the creation of WebView class and integrate the WebView class more seamlessly with the host platform. See here for more details about this archtecture;
  • Other UI elements beside the WebView area are mainly powered by UI controls in our EO.Wpf product. For example, the docking view UI is powered by EO.Wpf.DockView class. The tabbed header is provided by EO.Wpf.TabControl class. These controls are not part of EO.WebBrowser and you can replace them with any UI solution available to your application. For example, if you wish to create a tabbed interface in your Windows Form application, you can simply use .NET's built-in TabControl and place EO.WinForm.WebControl inside each tab;