ToolStripItemTextRenderEventArgs Construtores

Definição

Inicializa uma nova instância da classe ToolStripItemTextRenderEventArgs.

Sobrecargas

Nome Description
ToolStripItemTextRenderEventArgs(Graphics, ToolStripItem, String, Rectangle, Color, Font, ContentAlignment)

Inicializa uma nova instância da ToolStripItemTextRenderEventArgs classe com as propriedades de texto e texto especificadas.

ToolStripItemTextRenderEventArgs(Graphics, ToolStripItem, String, Rectangle, Color, Font, TextFormatFlags)

Inicializa uma nova instância da ToolStripItemTextRenderEventArgs classe com o formato de propriedades de texto e texto especificados.

ToolStripItemTextRenderEventArgs(Graphics, ToolStripItem, String, Rectangle, Color, Font, ContentAlignment)

Origem:
ToolStripItemTextRenderEventArgs.cs
Origem:
ToolStripItemTextRenderEventArgs.cs
Origem:
ToolStripItemTextRenderEventArgs.cs
Origem:
ToolStripItemTextRenderEventArgs.cs
Origem:
ToolStripItemTextRenderEventArgs.cs

Inicializa uma nova instância da ToolStripItemTextRenderEventArgs classe com as propriedades de texto e texto especificadas.

public:
 ToolStripItemTextRenderEventArgs(System::Drawing::Graphics ^ g, System::Windows::Forms::ToolStripItem ^ item, System::String ^ text, System::Drawing::Rectangle textRectangle, System::Drawing::Color textColor, System::Drawing::Font ^ textFont, System::Drawing::ContentAlignment textAlign);
public ToolStripItemTextRenderEventArgs(System.Drawing.Graphics g, System.Windows.Forms.ToolStripItem item, string text, System.Drawing.Rectangle textRectangle, System.Drawing.Color textColor, System.Drawing.Font textFont, System.Drawing.ContentAlignment textAlign);
public ToolStripItemTextRenderEventArgs(System.Drawing.Graphics g, System.Windows.Forms.ToolStripItem item, string? text, System.Drawing.Rectangle textRectangle, System.Drawing.Color textColor, System.Drawing.Font? textFont, System.Drawing.ContentAlignment textAlign);
new System.Windows.Forms.ToolStripItemTextRenderEventArgs : System.Drawing.Graphics * System.Windows.Forms.ToolStripItem * string * System.Drawing.Rectangle * System.Drawing.Color * System.Drawing.Font * System.Drawing.ContentAlignment -> System.Windows.Forms.ToolStripItemTextRenderEventArgs
Public Sub New (g As Graphics, item As ToolStripItem, text As String, textRectangle As Rectangle, textColor As Color, textFont As Font, textAlign As ContentAlignment)

Parâmetros

g
Graphics

O Graphics usado para desenhar o texto.

item
ToolStripItem

No ToolStripItem qual desenhar o texto.

text
String

O texto a ser renderizado.

textRectangle
Rectangle

O Rectangle que representa os limites para desenhar o texto.

textColor
Color

O Color usado para desenhar o texto.

textFont
Font

O Font usado para desenhar o texto.

textAlign
ContentAlignment

O ContentAlignment que especifica o alinhamento vertical e horizontal do texto na área delimitadora.

Aplica-se a

ToolStripItemTextRenderEventArgs(Graphics, ToolStripItem, String, Rectangle, Color, Font, TextFormatFlags)

Origem:
ToolStripItemTextRenderEventArgs.cs
Origem:
ToolStripItemTextRenderEventArgs.cs
Origem:
ToolStripItemTextRenderEventArgs.cs
Origem:
ToolStripItemTextRenderEventArgs.cs
Origem:
ToolStripItemTextRenderEventArgs.cs

Inicializa uma nova instância da ToolStripItemTextRenderEventArgs classe com o formato de propriedades de texto e texto especificados.

public:
 ToolStripItemTextRenderEventArgs(System::Drawing::Graphics ^ g, System::Windows::Forms::ToolStripItem ^ item, System::String ^ text, System::Drawing::Rectangle textRectangle, System::Drawing::Color textColor, System::Drawing::Font ^ textFont, System::Windows::Forms::TextFormatFlags format);
public ToolStripItemTextRenderEventArgs(System.Drawing.Graphics g, System.Windows.Forms.ToolStripItem item, string text, System.Drawing.Rectangle textRectangle, System.Drawing.Color textColor, System.Drawing.Font textFont, System.Windows.Forms.TextFormatFlags format);
public ToolStripItemTextRenderEventArgs(System.Drawing.Graphics g, System.Windows.Forms.ToolStripItem item, string? text, System.Drawing.Rectangle textRectangle, System.Drawing.Color textColor, System.Drawing.Font? textFont, System.Windows.Forms.TextFormatFlags format);
new System.Windows.Forms.ToolStripItemTextRenderEventArgs : System.Drawing.Graphics * System.Windows.Forms.ToolStripItem * string * System.Drawing.Rectangle * System.Drawing.Color * System.Drawing.Font * System.Windows.Forms.TextFormatFlags -> System.Windows.Forms.ToolStripItemTextRenderEventArgs
Public Sub New (g As Graphics, item As ToolStripItem, text As String, textRectangle As Rectangle, textColor As Color, textFont As Font, format As TextFormatFlags)

Parâmetros

g
Graphics

O Graphics usado para desenhar o texto.

item
ToolStripItem

No ToolStripItem qual desenhar o texto.

text
String

O texto a ser renderizado.

textRectangle
Rectangle

O Rectangle que representa os limites para desenhar o texto.

textColor
Color

O Color usado para desenhar o texto.

textFont
Font

O Font usado para desenhar o texto.

format
TextFormatFlags

As informações de exibição e layout para cadeias de caracteres de texto.

Aplica-se a