#region Using Directives using System; #endregion Using Directives namespace ScintillaNET { /// /// Provides data for Scintilla mouse events /// public class ScintillaMouseEventArgs : EventArgs { #region Fields private int _position; private int _x; private int _y; #endregion Fields #region Properties /// /// Returns the Document position /// public int Position { get { return _position; } set { _position = value; } } /// /// Returns the X (left) position of mouse in pixels /// public int X { get { return _x; } set { _x = value; } } /// /// Returns the Y (top) position of mouse in pixels /// public int Y { get { return _y; } set { _y = value; } } #endregion Properties #region Constructors /// /// Initializes a new instance of the ScintillaMouseEventArgs class. /// /// X (left) position of mouse in pixels /// Y (top) position of mouse in pixels /// Document position public ScintillaMouseEventArgs(int x, int y, int position) { _x = x; _y = y; _position = position; } #endregion Constructors } }