In This Article

StatusBarPanelMouseEventArgs Class

Provides data for StatusBarPanel mouse events.

public class StatusBarPanelMouseEventArgs : MouseEventArgs
Inheritance:
object EventArgs MouseEventArgs object

Constructors

StatusBarPanelMouseEventArgs(StatusBarPanel, MouseButtons, int, int, int, int)

Initializes an instance of the class.

public StatusBarPanelMouseEventArgs(StatusBarPanel panel, MouseButtons button, int clicks, int x, int y, int delta)
Parameter Type Description
panel StatusBarPanel

The StatusBarPanel affected by this event.

button MouseButtons

One of the MouseButtons values indicating which mouse button was pressed.

clicks int

The number of times a mouse button was pressed.

x int

The x-coordinate of a mouse click, in pixels.

y int

The y-coordinate of a mouse click, in pixels.

delta int

A signed count of the number of detents the wheel has rotated.

Properties

Panel

The StatusBarPanel affected by this event.

public StatusBarPanel Panel { get; }

Property Value

StatusBarPanel

Inherited Members

Extension Methods