CPF/CPF.ReoGrid/Events/WorksheetMouseEventArgs.cs

35 lines
827 B
C#
Raw Normal View History

2024-06-24 10:15:59 +08:00
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;
}
}
}