StatusBarDrawItemEventArgs Construtores

Definição

Inicializa uma nova instância da classe StatusBarDrawItemEventArgs.

Sobrecargas

StatusBarDrawItemEventArgs(Graphics, Font, Rectangle, Int32, DrawItemState, StatusBarPanel)

Inicializa uma nova instância da classe StatusBarDrawItemEventArgs sem especificar uma cor de primeiro plano e de tela de fundo para o StatusBarPanel.

StatusBarDrawItemEventArgs(Graphics, Font, Rectangle, Int32, DrawItemState, StatusBarPanel, Color, Color)

Inicializa uma nova instância da classe StatusBarDrawItemEventArgs com uma cor de primeiro plano e de tela de fundo especificada para o StatusBarPanel.

StatusBarDrawItemEventArgs(Graphics, Font, Rectangle, Int32, DrawItemState, StatusBarPanel)

Inicializa uma nova instância da classe StatusBarDrawItemEventArgs sem especificar uma cor de primeiro plano e de tela de fundo para o StatusBarPanel.

public:
 StatusBarDrawItemEventArgs(System::Drawing::Graphics ^ g, System::Drawing::Font ^ font, System::Drawing::Rectangle r, int itemId, System::Windows::Forms::DrawItemState itemState, System::Windows::Forms::StatusBarPanel ^ panel);
public StatusBarDrawItemEventArgs (System.Drawing.Graphics g, System.Drawing.Font font, System.Drawing.Rectangle r, int itemId, System.Windows.Forms.DrawItemState itemState, System.Windows.Forms.StatusBarPanel panel);
new System.Windows.Forms.StatusBarDrawItemEventArgs : System.Drawing.Graphics * System.Drawing.Font * System.Drawing.Rectangle * int * System.Windows.Forms.DrawItemState * System.Windows.Forms.StatusBarPanel -> System.Windows.Forms.StatusBarDrawItemEventArgs
Public Sub New (g As Graphics, font As Font, r As Rectangle, itemId As Integer, itemState As DrawItemState, panel As StatusBarPanel)

Parâmetros

g
Graphics

O Graphics a ser usado para desenhar o StatusBarPanel.

font
Font

O Font usado para renderizar texto.

r
Rectangle

O Rectangle que representa a área de cliente do StatusBarPanel.

itemId
Int32

O índice de base zero do painel no StatusBar.StatusBarPanelCollection do controle StatusBar.

itemState
DrawItemState

Um dos valores DrawItemState que representa as informações de estado sobre o StatusBarPanel.

panel
StatusBarPanel

Um StatusBarPanel que representa o painel a ser desenhado.

Confira também

Aplica-se a

StatusBarDrawItemEventArgs(Graphics, Font, Rectangle, Int32, DrawItemState, StatusBarPanel, Color, Color)

Inicializa uma nova instância da classe StatusBarDrawItemEventArgs com uma cor de primeiro plano e de tela de fundo especificada para o StatusBarPanel.

public:
 StatusBarDrawItemEventArgs(System::Drawing::Graphics ^ g, System::Drawing::Font ^ font, System::Drawing::Rectangle r, int itemId, System::Windows::Forms::DrawItemState itemState, System::Windows::Forms::StatusBarPanel ^ panel, System::Drawing::Color foreColor, System::Drawing::Color backColor);
public StatusBarDrawItemEventArgs (System.Drawing.Graphics g, System.Drawing.Font font, System.Drawing.Rectangle r, int itemId, System.Windows.Forms.DrawItemState itemState, System.Windows.Forms.StatusBarPanel panel, System.Drawing.Color foreColor, System.Drawing.Color backColor);
new System.Windows.Forms.StatusBarDrawItemEventArgs : System.Drawing.Graphics * System.Drawing.Font * System.Drawing.Rectangle * int * System.Windows.Forms.DrawItemState * System.Windows.Forms.StatusBarPanel * System.Drawing.Color * System.Drawing.Color -> System.Windows.Forms.StatusBarDrawItemEventArgs
Public Sub New (g As Graphics, font As Font, r As Rectangle, itemId As Integer, itemState As DrawItemState, panel As StatusBarPanel, foreColor As Color, backColor As Color)

Parâmetros

g
Graphics

O Graphics a ser usado para desenhar o StatusBarPanel.

font
Font

O Font usado para renderizar texto.

r
Rectangle

O Rectangle que representa a área de cliente do StatusBarPanel.

itemId
Int32

O índice de base zero do painel no StatusBar.StatusBarPanelCollection do controle StatusBar.

itemState
DrawItemState

Um dos valores DrawItemState que representa as informações de estado sobre o StatusBarPanel.

panel
StatusBarPanel

Um StatusBarPanel que representa o painel a ser desenhado.

foreColor
Color

Um dos valores Color que representa a cor de primeiro plano do painel a ser desenhado.

backColor
Color

Um dos valores Color que representa a cor da tela de fundo do painel a ser desenhado.

Aplica-se a