StatusBarDrawItemEventArgs Constructor (Graphics^, Font^, Rectangle, Int32, DrawItemState, StatusBarPanel^)
.NET Framework (current version)
Initializes a new instance of the StatusBarDrawItemEventArgs class without specifying a background and foreground color for the StatusBarPanel.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
public: StatusBarDrawItemEventArgs( Graphics^ g, Font^ font, Rectangle r, int itemId, DrawItemState itemState, StatusBarPanel^ panel )
Parameters
- g
-
Type:
System.Drawing::Graphics^
The Graphics to use to draw the StatusBarPanel.
- font
-
Type:
System.Drawing::Font^
The Font used to render text.
- r
-
Type:
System.Drawing::Rectangle
The Rectangle that represents the client area of the StatusBarPanel.
- itemId
-
Type:
System::Int32
The zero-based index of the panel in the StatusBar::StatusBarPanelCollection of the StatusBar control.
- itemState
-
Type:
System.Windows.Forms::DrawItemState
One of the DrawItemState values that represents state information about the StatusBarPanel.
- panel
-
Type:
System.Windows.Forms::StatusBarPanel^
A StatusBarPanel that represents the panel to draw.
.NET Framework
Available since 1.1
Available since 1.1
Show: