This documentation is archived and is not being maintained.

StatusBarPanelClickEventArgs Class

Provides data for the PanelClick event.

For a list of all members of this type, see StatusBarPanelClickEventArgs Members.


[Visual Basic]
Public Class StatusBarPanelClickEventArgs
   Inherits MouseEventArgs
public class StatusBarPanelClickEventArgs : MouseEventArgs
public __gc class StatusBarPanelClickEventArgs : public
public class StatusBarPanelClickEventArgs extends MouseEventArgs

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


The PanelClick event occurs when the user clicks a panel on the StatusBar. A StatusBarPanelClickEventArgs specifies which StatusBarPanel was clicked, the mouse button that was pressed, how many times it was pressed, and the coordinates of the mouse click at the time the StatusBarPanel was clicked. You can use the data provided by this class in an event handler for the PanelClick event to perform tasks related to the StatusBarPanel being clicked. For example, if a StatusBarPanel is used to display the time, you could create an event handler for the PanelClick event and use data provided by this class to display a dialog box that allows you to modify the date and time on the system.


Namespace: System.Windows.Forms

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Assembly: System.Windows.Forms (in System.Windows.Forms.dll)

See Also

StatusBarPanelClickEventArgs Members | System.Windows.Forms Namespace | MouseEventArgs | PanelClick | StatusBar | StatusBarPanel