Click or drag to resize

IBrowserUpdateBoundsRequested Event

Occurs when JavaScript requests to update bounds of the Browser instance.

Namespace:  DotNetBrowser.Browser
Assembly:  DotNetBrowser (in DotNetBrowser.dll) Version: 2.20.0
Syntax
C#
event EventHandler<UpdateBoundsRequestedEventArgs> UpdateBoundsRequested

Value

Type: SystemEventHandlerUpdateBoundsRequestedEventArgs
Exceptions
ExceptionCondition
ObjectDisposedExceptionThe IBrowser has already been disposed.
Remarks
JavaScript can request to update bounds of the Browser instance through the following JavaScript functions:
  • window.moveTo() - moves a window to the specified position.
  • window.moveBy() - moves a window a specified number of pixels relative to its current coordinates.
  • window.resizeTo() - resizes the window to the specified width and height.
  • window.resizeBy() - resizes the window by the specified pixels.
See Also