ToolStripItemTextRenderEventArgs Constructores

Definición

Inicializa una nueva instancia de la clase ToolStripItemTextRenderEventArgs.

Sobrecargas

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

Inicializa una nueva instancia de la ToolStripItemTextRenderEventArgs clase con las propiedades de texto y texto especificadas.

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

Inicializa una nueva instancia de la ToolStripItemTextRenderEventArgs clase con el formato de propiedades de texto y texto especificados.

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

Inicializa una nueva instancia de la ToolStripItemTextRenderEventArgs clase con las propiedades de texto y 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);
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

Graphics utilizado para dibujar el texto.

item
ToolStripItem

objeto ToolStripItem en el que se va a dibujar el texto.

text
String

Texto para dibujar.

textRectangle
Rectangle

Rectangle que representa los límites en los que dibujar el texto.

textColor
Color

Color utilizado para dibujar el texto.

textFont
Font

Font utilizado para dibujar el texto.

textAlign
ContentAlignment

ContentAlignment que especifica la alineación vertical y horizontal del texto en el área delimitador.

Se aplica a

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

Inicializa una nueva instancia de la ToolStripItemTextRenderEventArgs clase con el formato de propiedades de texto y 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);
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

Graphics utilizado para dibujar el texto.

item
ToolStripItem

objeto ToolStripItem en el que se va a dibujar el texto.

text
String

Texto para dibujar.

textRectangle
Rectangle

Rectangle que representa los límites en los que dibujar el texto.

textColor
Color

Color utilizado para dibujar el texto.

textFont
Font

Font utilizado para dibujar el texto.

format
TextFormatFlags

Información de presentación y diseño de las cadenas de texto.

Se aplica a