Share via


ToolStripLabel Construtores

Definição

Inicializa uma nova instância da classe ToolStripLabel.

Sobrecargas

ToolStripLabel()

Inicializa uma nova instância da classe ToolStripLabel.

ToolStripLabel(Image)

Inicializa uma nova instância da classe ToolStripLabel, especificando a imagem a ser exibida.

ToolStripLabel(String)

Inicializa uma nova instância da classe ToolStripLabel, especificando o texto a ser exibido.

ToolStripLabel(String, Image)

Inicializa uma nova instância da classe ToolStripLabel, especificando o texto e a imagem a serem exibidos.

ToolStripLabel(String, Image, Boolean)

Inicializa uma nova instância da classe ToolStripLabel, especificando o texto e a imagem a serem exibidos e se o ToolStripLabel atua como um link.

ToolStripLabel(String, Image, Boolean, EventHandler)

Inicializa uma nova instância da classe ToolStripLabel, especificando o texto e a imagem a serem exibidos, se o ToolStripLabel atua como um link e fornecendo um manipulador de eventos Click.

ToolStripLabel(String, Image, Boolean, EventHandler, String)

Inicializa uma nova instância da classe ToolStripLabel, especificando o texto e a imagem a serem exibidos, se o ToolStripLabel atua como um link e fornecendo um manipulador de eventos Click e nome para o ToolStripLabel.

ToolStripLabel()

Inicializa uma nova instância da classe ToolStripLabel.

public:
 ToolStripLabel();
public ToolStripLabel ();
Public Sub New ()

Aplica-se a

ToolStripLabel(Image)

Inicializa uma nova instância da classe ToolStripLabel, especificando a imagem a ser exibida.

public:
 ToolStripLabel(System::Drawing::Image ^ image);
public ToolStripLabel (System.Drawing.Image image);
public ToolStripLabel (System.Drawing.Image? image);
new System.Windows.Forms.ToolStripLabel : System.Drawing.Image -> System.Windows.Forms.ToolStripLabel
Public Sub New (image As Image)

Parâmetros

image
Image

O Image a ser exibido no ToolStripLabel.

Aplica-se a

ToolStripLabel(String)

Inicializa uma nova instância da classe ToolStripLabel, especificando o texto a ser exibido.

public:
 ToolStripLabel(System::String ^ text);
public ToolStripLabel (string text);
public ToolStripLabel (string? text);
new System.Windows.Forms.ToolStripLabel : string -> System.Windows.Forms.ToolStripLabel
Public Sub New (text As String)

Parâmetros

text
String

O texto a ser exibido no ToolStripLabel.

Aplica-se a

ToolStripLabel(String, Image)

Inicializa uma nova instância da classe ToolStripLabel, especificando o texto e a imagem a serem exibidos.

public:
 ToolStripLabel(System::String ^ text, System::Drawing::Image ^ image);
public ToolStripLabel (string text, System.Drawing.Image image);
public ToolStripLabel (string? text, System.Drawing.Image? image);
new System.Windows.Forms.ToolStripLabel : string * System.Drawing.Image -> System.Windows.Forms.ToolStripLabel
Public Sub New (text As String, image As Image)

Parâmetros

text
String

O texto a ser exibido no ToolStripLabel.

image
Image

O Image a ser exibido no ToolStripLabel.

Aplica-se a

ToolStripLabel(String, Image, Boolean)

Inicializa uma nova instância da classe ToolStripLabel, especificando o texto e a imagem a serem exibidos e se o ToolStripLabel atua como um link.

public:
 ToolStripLabel(System::String ^ text, System::Drawing::Image ^ image, bool isLink);
public ToolStripLabel (string text, System.Drawing.Image image, bool isLink);
public ToolStripLabel (string? text, System.Drawing.Image? image, bool isLink);
new System.Windows.Forms.ToolStripLabel : string * System.Drawing.Image * bool -> System.Windows.Forms.ToolStripLabel
Public Sub New (text As String, image As Image, isLink As Boolean)

Parâmetros

text
String

O texto a ser exibido no ToolStripLabel.

image
Image

O Image a ser exibido no ToolStripLabel.

isLink
Boolean

true se o ToolStripLabel atuar como um link; caso contrário, false.

Aplica-se a

ToolStripLabel(String, Image, Boolean, EventHandler)

Inicializa uma nova instância da classe ToolStripLabel, especificando o texto e a imagem a serem exibidos, se o ToolStripLabel atua como um link e fornecendo um manipulador de eventos Click.

public:
 ToolStripLabel(System::String ^ text, System::Drawing::Image ^ image, bool isLink, EventHandler ^ onClick);
public ToolStripLabel (string text, System.Drawing.Image image, bool isLink, EventHandler onClick);
public ToolStripLabel (string? text, System.Drawing.Image? image, bool isLink, EventHandler? onClick);
new System.Windows.Forms.ToolStripLabel : string * System.Drawing.Image * bool * EventHandler -> System.Windows.Forms.ToolStripLabel
Public Sub New (text As String, image As Image, isLink As Boolean, onClick As EventHandler)

Parâmetros

text
String

O texto a ser exibido no ToolStripLabel.

image
Image

O Image a ser exibido no ToolStripLabel.

isLink
Boolean

true se o ToolStripLabel atuar como um link; caso contrário, false.

onClick
EventHandler

Um manipulador de eventos Click.

Aplica-se a

ToolStripLabel(String, Image, Boolean, EventHandler, String)

Inicializa uma nova instância da classe ToolStripLabel, especificando o texto e a imagem a serem exibidos, se o ToolStripLabel atua como um link e fornecendo um manipulador de eventos Click e nome para o ToolStripLabel.

public:
 ToolStripLabel(System::String ^ text, System::Drawing::Image ^ image, bool isLink, EventHandler ^ onClick, System::String ^ name);
public ToolStripLabel (string text, System.Drawing.Image image, bool isLink, EventHandler onClick, string name);
public ToolStripLabel (string? text, System.Drawing.Image? image, bool isLink, EventHandler? onClick, string? name);
new System.Windows.Forms.ToolStripLabel : string * System.Drawing.Image * bool * EventHandler * string -> System.Windows.Forms.ToolStripLabel
Public Sub New (text As String, image As Image, isLink As Boolean, onClick As EventHandler, name As String)

Parâmetros

text
String

O texto a ser exibido no ToolStripLabel.

image
Image

O Image a ser exibido no ToolStripLabel.

isLink
Boolean

true se o ToolStripLabel atuar como um link; caso contrário, false.

onClick
EventHandler

Um manipulador de eventos Click.

name
String

O nome do ToolStripLabel.

Aplica-se a