This documentation is archived and is not being maintained.

StatusBarPanelClickEventArgs.StatusBarPanel Property

Gets the StatusBarPanel to draw.

[Visual Basic]
Public ReadOnly Property StatusBarPanel As StatusBarPanel
public StatusBarPanel StatusBarPanel {get;}
public: __property StatusBarPanel* get_StatusBarPanel();
public function get StatusBarPanel() : StatusBarPanel;

Property Value

The StatusBarPanel to draw.


The StatusBarPanel property enables you to obtain the StatusBarPanel that was clicked. You can use this within the event handler for the PanelClick event of a StatusBar control to perform tasks such as displaying custom dialog boxes when a StatusBarPanel within a StatusBar control is clicked.


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

See Also

StatusBarPanelClickEventArgs Class | StatusBarPanelClickEventArgs Members | System.Windows.Forms Namespace | StatusBarPanel | PanelClick