A Microsoft Edge (Chromium) based browser component that uses WebView2 Más...
Métodos públicos | |
WebViewBrowser () | |
Default constructor Más... | |
void | Initialize (Uri url) |
Initialize the browser control with the default url Más... | |
void | NavigateTo (Uri url) |
Load the specified page in the browser control Más... | |
void | NavigateWithPost (string url, Stream postData, string headers) |
Load the specified page in the browser control and post the given data and additional headers Más... | |
delegate void | ScriptDialogOpeningHandler (object sender, Microsoft.Web.WebView2.Core.CoreWebView2ScriptDialogOpeningEventArgs e) |
Se dispara cuando Se inicia la navegación Más... | |
delegate void | CompleteInitializeHandler () |
Evento que se ejecuta al finalizar la inicialización Más... | |
Métodos protegidos | |
async void | InitializeWebBrowser () |
Initialize the underlying control Más... | |
Propiedades | |
System.Windows.Forms.Control | BrowserControl [get] |
Returns the underlying browser control Más... | |
WebView2 | WebBrowserControl [get] |
Get the webbrowser control Más... | |
bool | IsCompleteInitialize [get, set] |
Indica si se ha inicializado Más... | |
Eventos | |
Func< Uri, bool > | NavigationStarted |
Custom event to expose the browser navigation started event. The function that signs up for the event should take a Uri as the only paramater, which will be the Uri that is being navigated to. And the function should return a bool that represents whether navigation should be cancelled. Más... | |
ScriptDialogOpeningHandler | _ScriptDialogOpening |
CompleteInitializeHandler | OnCompleteInitialize |
Evento que se ejecuta al finalizar la inicialización Más... | |
A Microsoft Edge (Chromium) based browser component that uses WebView2
Definición en la línea 23 del archivo WebViewBrowser.cs.
|
inline |
Default constructor
Definición en la línea 38 del archivo WebViewBrowser.cs.
delegate void Sage.ConnectedServicesHub.Control.WinForm.WebViewBrowser.CompleteInitializeHandler | ( | ) |
Evento que se ejecuta al finalizar la inicialización
|
inline |
Initialize the browser control with the default url
Definición en la línea 46 del archivo WebViewBrowser.cs.
|
inlineprotected |
Initialize the underlying control
Definición en la línea 124 del archivo WebViewBrowser.cs.
|
inline |
Load the specified page in the browser control
Definición en la línea 54 del archivo WebViewBrowser.cs.
|
inline |
Load the specified page in the browser control and post the given data and additional headers
Definición en la línea 62 del archivo WebViewBrowser.cs.
delegate void Sage.ConnectedServicesHub.Control.WinForm.WebViewBrowser.ScriptDialogOpeningHandler | ( | object | sender, |
Microsoft.Web.WebView2.Core.CoreWebView2ScriptDialogOpeningEventArgs | e | ||
) |
Se dispara cuando Se inicia la navegación
|
get |
Returns the underlying browser control
Definición en la línea 77 del archivo WebViewBrowser.cs.
|
getset |
Indica si se ha inicializado
Definición en la línea 109 del archivo WebViewBrowser.cs.
|
get |
Get the webbrowser control
Definición en la línea 89 del archivo WebViewBrowser.cs.
ScriptDialogOpeningHandler Sage.ConnectedServicesHub.Control.WinForm.WebViewBrowser._ScriptDialogOpening |
Evento de inicio de la navegación
Definición en la línea 99 del archivo WebViewBrowser.cs.
Func<Uri, bool> Sage.ConnectedServicesHub.Control.WinForm.WebViewBrowser.NavigationStarted |
Custom event to expose the browser navigation started event. The function that signs up for the event should take a Uri as the only paramater, which will be the Uri that is being navigated to. And the function should return a bool that represents whether navigation should be cancelled.
Definición en la línea 33 del archivo WebViewBrowser.cs.
CompleteInitializeHandler Sage.ConnectedServicesHub.Control.WinForm.WebViewBrowser.OnCompleteInitialize |
Evento que se ejecuta al finalizar la inicialización
Definición en la línea 119 del archivo WebViewBrowser.cs.