Occurs when the splitter control is moved.
[Visual Basic] Public Event SplitterMoved As SplitterEventHandler [C#] public event SplitterEventHandler SplitterMoved; [C++] public: __event SplitterEventHandler* SplitterMoved;
[JScript] In JScript, you can handle the events defined by a class, but you cannot define your own.
The event handler receives an argument of type SplitterEventArgs containing data related to this event. The following SplitterEventArgs properties provide information specific to this event.
|SplitX||Gets or sets the x-coordinate of the upper-left corner of the Splitter (in client coordinates).|
|SplitY||Gets or sets the y-coordinate of the upper-left corner of the Splitter (in client coordinates).|
|X||Gets the x-coordinate of the mouse pointer (in client coordinates).|
|Y||Gets the y-coordinate of the mouse pointer (in client coordinates).|
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.
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family