Occurs when the size the width or height of this viewer's viewport (current view area) has changed.

You can use ThisWindow.ViewportWidth and ThisWindow.ViewportHeight to determine the new viewport size. Or, you can call ThisWindow.GetCurrentVisibleAreaRootSpace to get the viewport dimensions in the coordinate space the root visual of the display.

Namespace: Ico.Gwx
Assembly: GwxRuntimeCore (in GwxRuntimeCore.dll) Version: 10.97.212.0 (10.97.212.00)

Syntax

C#
public event EventHandler ViewportSizeChanged
Visual Basic
Public Event ViewportSizeChanged As EventHandler
JScript
JScript does not support events.

See Also