Specifies whether a System.Windows.Forms.StatusBarPanel object on a System.Windows.Forms.StatusBar control is owner-drawn or system-drawn.
Use the members of this enumeration to set the value of the StatusBarPanel.Style property of the System.Windows.Forms.StatusBarPanel class. The Style property determines the way in which the System.Windows.Forms.StatusBarPanel will be displayed. System.Windows.Forms.StatusBarPanel objects can display simple text or be owner-drawn. Owner-drawn System.Windows.Forms.StatusBarPanel objects support displaying images or a different font from the rest of the System.Windows.Forms.StatusBarPanel objects on a System.Windows.Forms.StatusBar control, while system-drawn System.Windows.Forms.StatusBarPanel objects are used to display only text (or text and an icon if an icon is specified in the StatusBarPanel.Icon property of the System.Windows.Forms.StatusBarPanel). To perform the owner-draw operations on an owner-drawn System.Windows.Forms.StatusBarPanel, use the StatusBar.DrawItem event of the System.Windows.Forms.StatusBar control.
Member Name | Description |
---|---|
OwnerDraw |
The System.Windows.Forms.StatusBarPanel is drawn by the owner. |
Text |
The System.Windows.Forms.StatusBarPanel displays text in the standard font. |