35 lines
827 B
C#
35 lines
827 B
C#
![]() |
using System;
|
|||
|
using CPF.Drawing;
|
|||
|
using CPF.ReoGrid.Interaction;
|
|||
|
|
|||
|
namespace CPF.ReoGrid.Events
|
|||
|
{
|
|||
|
public class WorksheetMouseEventArgs : EventArgs
|
|||
|
{
|
|||
|
public Worksheet Worksheet { get; private set; }
|
|||
|
|
|||
|
public MouseButtons Buttons { get; set; }
|
|||
|
|
|||
|
public Point RelativePosition { get; set; }
|
|||
|
|
|||
|
public Point AbsolutePosition { get; set; }
|
|||
|
|
|||
|
public int Clicks { get; private set; }
|
|||
|
|
|||
|
public int Delta { get; set; }
|
|||
|
|
|||
|
public bool Capture { get; set; }
|
|||
|
|
|||
|
public CursorStyle CursorStyle { get; set; }
|
|||
|
|
|||
|
public WorksheetMouseEventArgs(Worksheet worksheet, Point relativePosition, Point absolutePosition, MouseButtons buttons, int clicks)
|
|||
|
{
|
|||
|
this.Worksheet = worksheet;
|
|||
|
this.Buttons = buttons;
|
|||
|
this.Clicks = clicks;
|
|||
|
this.RelativePosition = relativePosition;
|
|||
|
this.AbsolutePosition = absolutePosition;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|