Splitter.SplitterMoving Event
Assembly: System.Windows.Forms (in system.windows.forms.dll)
'Declaration Public Event SplitterMoving As SplitterEventHandler 'Usage Dim instance As Splitter Dim handler As SplitterEventHandler AddHandler instance.SplitterMoving, handler
/** @event */ public void add_SplitterMoving (SplitterEventHandler value) /** @event */ public void remove_SplitterMoving (SplitterEventHandler value)
JScript supports the use of events, but not the declaration of new ones.
You can create an event handler for the SplitterMoving event to perform resize validation in your application. For example, if a Splitter control is docked to the edges of a TreeView control and a ListView control, you can write code in the SplitterMoved event to determine if the minimum and/or maximum size for the TreeView and ListView controls has been exceeded and restrict the resizing of the controls to their minimum or maximum size.
For more information about handling events, see Consuming Events.
Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.