ToolStripLabel コンストラクター

定義

ToolStripLabel クラスの新しいインスタンスを初期化します。

オーバーロード

ToolStripLabel()

ToolStripLabel クラスの新しいインスタンスを初期化します。

ToolStripLabel(Image)

表示するイメージを指定して ToolStripLabel クラスの新しいインスタンスを初期化します。

ToolStripLabel(String)

表示するテキストを指定して ToolStripLabel クラスの新しいインスタンスを初期化します。

ToolStripLabel(String, Image)

表示するテキストおよびイメージを指定して ToolStripLabel クラスの新しいインスタンスを初期化します。

ToolStripLabel(String, Image, Boolean)

表示するテキストとイメージを指定し、さらに、ToolStripLabel をリンクとして機能させるかどうかを指定して ToolStripLabel クラスの新しいインスタンスを初期化します。

ToolStripLabel(String, Image, Boolean, EventHandler)

表示するテキストとイメージ、ToolStripLabel をリンクとして機能させるかどうか、および、ToolStripLabel イベント ハンドラーを指定して Click クラスの新しいインスタンスを初期化します。

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

表示するテキストとイメージ、および、ToolStripLabel をリンクとして機能させるかどうかを指定し、さらに、ToolStripLabel イベント ハンドラーと Click の名前を指定して ToolStripLabel クラスの新しいインスタンスを初期化します。

ToolStripLabel()

ToolStripLabel クラスの新しいインスタンスを初期化します。

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

適用対象

ToolStripLabel(Image)

表示するイメージを指定して ToolStripLabel クラスの新しいインスタンスを初期化します。

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)

パラメーター

image
Image

ToolStripLabel に表示される Image

適用対象

ToolStripLabel(String)

表示するテキストを指定して ToolStripLabel クラスの新しいインスタンスを初期化します。

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)

パラメーター

text
String

ToolStripLabel に表示するテキスト。

適用対象

ToolStripLabel(String, Image)

表示するテキストおよびイメージを指定して ToolStripLabel クラスの新しいインスタンスを初期化します。

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)

パラメーター

text
String

ToolStripLabel に表示するテキスト。

image
Image

ToolStripLabel に表示される Image

適用対象

ToolStripLabel(String, Image, Boolean)

表示するテキストとイメージを指定し、さらに、ToolStripLabel をリンクとして機能させるかどうかを指定して ToolStripLabel クラスの新しいインスタンスを初期化します。

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)

パラメーター

text
String

ToolStripLabel に表示するテキスト。

image
Image

ToolStripLabel に表示される Image

isLink
Boolean

ToolStripLabel をリンクとして機能させる場合は true。それ以外の場合は false

適用対象

ToolStripLabel(String, Image, Boolean, EventHandler)

表示するテキストとイメージ、ToolStripLabel をリンクとして機能させるかどうか、および、ToolStripLabel イベント ハンドラーを指定して 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)

パラメーター

text
String

ToolStripLabel に表示するテキスト。

image
Image

ToolStripLabel に表示される Image

isLink
Boolean

ToolStripLabel をリンクとして機能させる場合は true。それ以外の場合は false

onClick
EventHandler

Click イベント ハンドラー。

適用対象

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

表示するテキストとイメージ、および、ToolStripLabel をリンクとして機能させるかどうかを指定し、さらに、ToolStripLabel イベント ハンドラーと Click の名前を指定して 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)

パラメーター

text
String

ToolStripLabel に表示するテキスト。

image
Image

ToolStripLabel に表示される Image

isLink
Boolean

ToolStripLabel をリンクとして機能させる場合は true。それ以外の場合は false

onClick
EventHandler

Click イベント ハンドラー。

name
String

ToolStripLabel の名前。

適用対象