StatusBarPanelMouseEventArgs Class
Provides data for StatusBarPanel mouse events.
public class StatusBarPanelMouseEventArgs : MouseEventArgs
- Inheritance:
- Object Object
Constructors
StatusBarPanelMouseEventArgs(StatusBarPanel, MouseButtons, Int32, Int32, Int32, Int32)
Initializes a new instance of the StatusBarPanelMouseEventArgs
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 | Int32 | The number of times a mouse button was pressed. |
x | Int32 | The x-coordinate of a mouse click, in pixels. |
y | Int32 | The y-coordinate of a mouse click, in pixels. |
delta | Int32 | A signed count of the number of detents the wheel has rotated. |
Properties
Panel
Gets the StatusBarPanel affected by this event.
public StatusBarPanel Panel { get; }
Property Value
- StatusBarPanel:
The StatusBarPanel affected by this event.