Table of Contents

Constructor GutterMouseButtonEventArgs

Namespace
Alternet.Editor.Wpf
Assembly
Alternet.Editor.Wpf.v10.dll

GutterMouseButtonEventArgs(MouseButtonEventArgs, int, Rect, Point)

Initializes a new instance of the GutterMouseButtonEventArgs class with specified parameters.

public GutterMouseButtonEventArgs(MouseButtonEventArgs original, int lineIndex, Rect itemBounds, Point mousePositionInItem)

Parameters

original MouseButtonEventArgs

The original MouseButtonEventArgs that contains the event data.

lineIndex int

The index of the clicked line.

itemBounds Rect

The bounds rectangle of the visual gutter item.

mousePositionInItem Point

The mouse position relative to the gutter layer.

GutterMouseButtonEventArgs(MouseDevice, int, MouseButton, StylusDevice, int, Rect, Point)

Initializes a new instance of the GutterMouseButtonEventArgs class with specified parameters.

public GutterMouseButtonEventArgs(MouseDevice mouse, int timestamp, MouseButton button, StylusDevice stylusDevice, int lineIndex, Rect itemBounds, Point mousePositionInItem)

Parameters

mouse MouseDevice

The logical Mouse device associated with this event.

timestamp int

The time when the input occurred.

button MouseButton

The mouse button whose state is being described.

stylusDevice StylusDevice

The stylus associated with this event.

lineIndex int

The index of the clicked line.

itemBounds Rect

The bounds rectangle of the visual gutter item.

mousePositionInItem Point

The mouse position relative to the gutter layer.