Click or drag to resize

ChromiumHostControlBaseFromBrowserT Method

Version 101.0.180
Gets the ChromiumHostControl or ChromiumWebBrowser associated with a specific IBrowser instance.

Namespace:  CefSharp.WinForms.Host
Assembly:  CefSharp.WinForms (in CefSharp.WinForms.dll) Version: 101.0.180.0 (101.0.180.0)
Syntax
public static T FromBrowser<T>(
	IBrowser browser
)
where T : ChromiumHostControlBase

Parameters

browser
Type: CefSharpIBrowser
browser

Type Parameters

T

[Missing <typeparam name="T"/> documentation for "M:CefSharp.WinForms.Host.ChromiumHostControlBase.FromBrowser``1(CefSharp.IBrowser)"]

Return Value

Type: T
returns the assocaited ChromiumHostControl or ChromiumWebBrowser or null if Disposed or no host found.
See Also