/// <summary> /// Initializes a new instance of the MarginClickEventArgs class. /// </summary> /// <param name="modifiers"> /// Any Modifier keys (shift, alt, ctrl) that were in use at the /// time the click event occured /// </param> /// <param name="position">Document position of the line where the click occured</param> /// <param name="line">Document line # where the click occured</param> /// <param name="margin">Margin where the click occured</param> /// <param name="toggleMarkerNumber"> marker number that should be toggled in result of the click</param> /// <param name="toggleFold">Whether the fold at the current line should be toggled</param> public MarginClickEventArgs(Keys modifiers, int position, Line line, Margin margin, int toggleMarkerNumber, bool toggleFold) { this._modifiers = modifiers; this._position = position; this._line = line; this._margin = margin; this._toggleMarkerNumber = toggleMarkerNumber; this._toggleFold = toggleFold; }