DropPanel.SizeChanged

Syntax

SizeChanged: function (sender, args)

Parameters

sender. Event source.

args. Event information.

Description

The SizeChanged event occurs after resizing the component.

Comments

For this event to occur, the DropPanel.EnableResize property must be set to True.

Example

To execute the example, create the DropPanel component and a button clicking which expands the panel (see Example of Creating the DropPanel Component). Add the SizeChanged event handler:

DP.SizeChanged.add (function (sender, args)

{

    alert(Set size: height: + DP.getHeight() + , width: + DP.getWidth());

})

The panel is folded after executing the example on pressing the button. After panel resizing by dragging its borders the information message concerning the set component sizes is displayed.

See also:

DropPanel