SplitterEventArgs

SplitterEventArgs

System. Windows .Forms (system. windows .forms.dll) class

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()}



. Net Windows Forms in a Nutshell
.NET Windows Forms in a Nutshell
ISBN: 0596003382
EAN: 2147483647
Year: 2002
Pages: 794

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net