ToolStripLabel Construtores

Definição

Inicializa uma nova instância da ToolStripLabel classe.

Sobrecargas

Name Description
ToolStripLabel()

Inicializa uma nova instância da ToolStripLabel classe.

ToolStripLabel(Image)

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

ToolStripLabel(String)

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

ToolStripLabel(String, Image)

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

ToolStripLabel(String, Image, Boolean)

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

ToolStripLabel(String, Image, Boolean, EventHandler)

Inicializa uma nova instância da ToolStripLabel classe, especificando o texto e a imagem a mostrar, se funciona ToolStripLabel como um link, e fornecendo um Click gestor de eventos.

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

Inicializa uma nova instância da ToolStripLabel classe, especificando o texto e a imagem a exibir, se funciona ToolStripLabel como ligação, e fornece um Click gestor de eventos e nome para o ToolStripLabel.

ToolStripLabel()

Origem:
ToolStripLabel.cs
Origem:
ToolStripLabel.cs
Origem:
ToolStripLabel.cs
Origem:
ToolStripLabel.cs
Origem:
ToolStripLabel.cs

Inicializa uma nova instância da ToolStripLabel classe.

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

Aplica-se a

ToolStripLabel(Image)

Origem:
ToolStripLabel.cs
Origem:
ToolStripLabel.cs
Origem:
ToolStripLabel.cs
Origem:
ToolStripLabel.cs
Origem:
ToolStripLabel.cs

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

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 para mostrar no ToolStripLabel.

Aplica-se a

ToolStripLabel(String)

Origem:
ToolStripLabel.cs
Origem:
ToolStripLabel.cs
Origem:
ToolStripLabel.cs
Origem:
ToolStripLabel.cs
Origem:
ToolStripLabel.cs

Inicializa uma nova instância da ToolStripLabel classe, 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 mostrar no ToolStripLabel.

Aplica-se a

ToolStripLabel(String, Image)

Origem:
ToolStripLabel.cs
Origem:
ToolStripLabel.cs
Origem:
ToolStripLabel.cs
Origem:
ToolStripLabel.cs
Origem:
ToolStripLabel.cs

Inicializa uma nova instância da ToolStripLabel classe, 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 mostrar no ToolStripLabel.

image
Image

O Image para mostrar no ToolStripLabel.

Aplica-se a

ToolStripLabel(String, Image, Boolean)

Origem:
ToolStripLabel.cs
Origem:
ToolStripLabel.cs
Origem:
ToolStripLabel.cs
Origem:
ToolStripLabel.cs
Origem:
ToolStripLabel.cs

Inicializa uma nova instância da ToolStripLabel classe, especificando o texto e a imagem a mostrar e se funciona ToolStripLabel 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 mostrar no ToolStripLabel.

image
Image

O Image para mostrar no ToolStripLabel.

isLink
Boolean

true se o ToolStripLabel atuar como uma ligação; caso contrário, false.

Aplica-se a

ToolStripLabel(String, Image, Boolean, EventHandler)

Origem:
ToolStripLabel.cs
Origem:
ToolStripLabel.cs
Origem:
ToolStripLabel.cs
Origem:
ToolStripLabel.cs
Origem:
ToolStripLabel.cs

Inicializa uma nova instância da ToolStripLabel classe, especificando o texto e a imagem a mostrar, se funciona ToolStripLabel como um link, e fornecendo um Click gestor de eventos.

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 mostrar no ToolStripLabel.

image
Image

O Image para mostrar no ToolStripLabel.

isLink
Boolean

true se o ToolStripLabel atuar como uma ligação; caso contrário, false.

onClick
EventHandler

Um gestor de Click eventos.

Aplica-se a

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

Origem:
ToolStripLabel.cs
Origem:
ToolStripLabel.cs
Origem:
ToolStripLabel.cs
Origem:
ToolStripLabel.cs
Origem:
ToolStripLabel.cs

Inicializa uma nova instância da ToolStripLabel classe, especificando o texto e a imagem a exibir, se funciona ToolStripLabel como ligação, e fornece um Click gestor de eventos 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 mostrar no ToolStripLabel.

image
Image

O Image para mostrar no ToolStripLabel.

isLink
Boolean

true se o ToolStripLabel atuar como uma ligação; caso contrário, false.

onClick
EventHandler

Um gestor de Click eventos.

name
String

O nome do ToolStripLabel.

Aplica-se a