Click or drag to resize

ChromiumHostControlBaseResizeBrowser Method

Version 102.0.100
Resizes the browser to the specified width and height. If width and height are both 0 then the browser will be hidden and resource usage will be minimised.

Namespace:  CefSharp.WinForms.Host
Assembly:  CefSharp.WinForms (in CefSharp.WinForms.dll) Version: 102.0.100.0 (102.0.100.0)
Syntax
protected virtual void ResizeBrowser(
	int width,
	int height
)

Parameters

width
Type: SystemInt32
width
height
Type: SystemInt32
height
See Also