Splitter.SplitterMoved Event
Assembly: System.Windows.Forms (in system.windows.forms.dll)
'Declaration Public Event SplitterMoved As SplitterEventHandler 'Usage Dim instance As Splitter Dim handler As SplitterEventHandler AddHandler instance.SplitterMoved, handler
/** @event */ public void add_SplitterMoved (SplitterEventHandler value) /** @event */ public void remove_SplitterMoved (SplitterEventHandler value)
JScript supports the use of events, but not the declaration of new ones.
You can create an event handler for the SplitterMoved 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 resize 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.