Click or drag to resize

ChromiumHostControlBaseFromBrowserT Method

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

Namespace:  CefSharp.WinForms.Host
Assembly:  CefSharp.WinForms (in CefSharp.WinForms.dll) Version: 102.0.100.0 (102.0.100.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