System.Windows.Forms.StatusBarDrawItemEventArgs Class

Provides data for the StatusBar.DrawItem event.

See Also: StatusBarDrawItemEventArgs Members

Syntax

public class StatusBarDrawItemEventArgs : DrawItemEventArgs

Remarks

The StatusBar.DrawItem event occurs when a visual aspect of an owner-drawn System.Windows.Forms.StatusBarPanel changes. A System.Windows.Forms.StatusBarDrawItemEventArgs specifies the System.Drawing.Graphics object to use to draw the panel, the System.Drawing.Rectangle object in which to draw the panel, the panel identification number, state information about the panel, and the panel to draw. You can use the data provided by this class in an event handler for the StatusBar.DrawItem event to create custom-drawn panels in your application's System.Windows.Forms.StatusBar control.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0