Click or drag to resize

ChromiumWebBrowserResizeBrowser Method

Version 101.0.180
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
Assembly:  CefSharp.WinForms (in CefSharp.WinForms.dll) Version: 101.0.180.0 (101.0.180.0)
Syntax
protected override void ResizeBrowser(
	int width,
	int height
)

Parameters

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