Click or drag to resize

Window.Resize Method (Typed)

X#
Provide a method that is invoked when the window changes size.

Namespace:  XSharp.VO.SDK
Assembly:  XSharp.VOGUIClasses (in XSharp.VOGUIClasses.dll) Version: 2.21
Syntax
 VIRTUAL METHOD Resize(
	oResizeEvent AS ResizeEvent
) AS USUAL
Request Example View Source

Parameters

oResizeEvent
Type: ResizeEvent
The ResizeEvent object that describes the new dimensions of the window canvas area.

Return Value

Type: Usual
Remarks
Tip Tip
Important! This is a callback method used by X#. Normally, it should not be called in your application code.
In the Window:Resize() event handler, calling Window:Size should be used with caution to avoid entering an infinite loop.
If the window has a Toolbar then this method will also make sure that the toolbar is resized as well.
See Also