ToolStripItemTextRenderEventArgs Construtores

Definição

Inicializa uma nova instância da ToolStripItemTextRenderEventArgs classe.

Sobrecargas

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

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

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

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

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 o texto e as propriedades de 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

Eles Graphics costumavam desenhar o texto.

item
ToolStripItem

O ToolStripItem exemplo em que desenhar o texto.

text
String

O texto a exibir.

textRectangle
Rectangle

O Rectangle que representa os limites para desenhar o texto.

textColor
Color

Eles Color costumavam desenhar o texto.

textFont
Font

Eles Font costumavam 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 texto especificado e o formato de propriedades de texto.

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

Eles Graphics costumavam desenhar o texto.

item
ToolStripItem

O ToolStripItem exemplo em que desenhar o texto.

text
String

O texto a exibir.

textRectangle
Rectangle

O Rectangle que representa os limites para desenhar o texto.

textColor
Color

Eles Color costumavam desenhar o texto.

textFont
Font

Eles Font costumavam desenhar o texto.

format
TextFormatFlags

A visualização e a informação de layout para cadeias de texto.

Aplica-se a