Name
SplitterEventArgs
Synopsis
The data for the Splitter.SplitterMoving
and
SplitterMoved
events is encapsulated by this
class. You can retrieve the location of the top left of the
Splitter
with the SplitX
and
SplitY
members, and the current mouse position (in
the client coordinates of the splitters Parent
window) with X
and Y
.
public class SplitterEventArgs : EventArgs { // Public Constructors public SplitterEventArgs(int x, int y, int splitX, int splitY); // Public Instance Properties public int SplitX{set; get; } public int SplitY{set; get; } public int X{get; } public int Y{get; } }
Hierarchy
System.Object
→ System.EventArgs → SplitterEventArgs
Passed To
Splitter.{OnSplitterMoved()
,
OnSplitterMoving()}
,
SplitterEventHandler.{BeginInvoke()
,
Invoke()}
Get .NET Windows Forms in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.