SizeChanged: function (sender, args)
sender. Event source.
args. Event information.
The SizeChanged event occurs after resizing the component.
For this event to occur, the DropPanel.EnableResize property must be set to True.
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.
Seebsp;also: