ToolStripLabel コンストラクター
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
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
Imageに表示するToolStripLabel。
適用対象
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
Imageに表示するToolStripLabel。
適用対象
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
Imageに表示するToolStripLabel。
- isLink
- Boolean
true
ToolStripLabelがリンクとして機能する場合は >。それ以外の場合は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
Imageに表示するToolStripLabel。
- isLink
- Boolean
true
ToolStripLabelがリンクとして機能する場合は >。それ以外の場合は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
Imageに表示するToolStripLabel。
- isLink
- Boolean
true
ToolStripLabelがリンクとして機能する場合は >。それ以外の場合はfalse。
- onClick
- EventHandler
Click イベント ハンドラー。
- name
- String
ToolStripLabelの名前。