DekGenius.com
[ Team LiB ] Previous Section Next Section

StatusBarPanelClickEventArgs

System.Windows.Forms (system.windows.forms.dll)class

This class encapsulates the data for the StatusBar.PanelClick event. You can determine which Button was pressed, the number of Clicks (single, double, triple, etc.), the Delta through which the mouse wheel has been rotated, and the X and Y coordinates of the click (in the StatusBar coordinate space). You can also find out which StatusBarPanel was clicked.

public class StatusBarPanelClickEventArgs : MouseEventArgs {
// Public Constructors
   public StatusBarPanelClickEventArgs(StatusBarPanel statusBarPanel, MouseButtons button, int clicks, int x, int y);
// Public Instance Properties
   public StatusBarPanel StatusBarPanel{get; }
}

Hierarchy

System.Object System.EventArgs MouseEventArgs StatusBarPanelClickEventArgs

Passed To

StatusBar.OnPanelClick(), StatusBarPanelClickEventHandler.{BeginInvoke(), Invoke()}

    [ Team LiB ] Previous Section Next Section