Table of Contents
Overview

EO.WebBrowser includes several import classes:

  • EO.WebBrowser.WebView. This is the core component. You can use this component directly;
  • EO.WinForm.WebControl. This class is Windows Forms Control that provides a thin wrapper around the WebView class. In a Windows Forms project, you can use this class, or use the WebView class directly;
  • EO.Wpf.WebControl. This class is a WPF Control that provides a thin wrapper around the WebView class. In a WPF project, you can use this class, or use the WebView class directly;

Both the Windows Form and WPF wrapper provides a thin wrapper that integrates the WebView class into the target platform seamlessly. Both classes expose a WebView property which allows you to access all WebView features through this property. For example, the following code load Google's homepage in a WebControl:

WebControl1.WebView.Url = "www.google.com";

The above code works for both the Windows Forms version and WPF version. The following diagram demonstrates this relationship: