ToolStripSplitButton Конструкторы

Определение

Инициализирует новый экземпляр класса ToolStripSplitButton.

Перегрузки

ToolStripSplitButton()

Инициализирует новый экземпляр класса ToolStripSplitButton.

ToolStripSplitButton(Image)

Инициализирует новый экземпляр класса ToolStripSplitButton с указанным изображением.

ToolStripSplitButton(String)

Инициализирует новый экземпляр класса ToolStripSplitButton с указанным текстом.

ToolStripSplitButton(String, Image)

Инициализирует новый экземпляр класса ToolStripSplitButton с указанным текстом и заданным изображением.

ToolStripSplitButton(String, Image, EventHandler)

Инициализирует новый экземпляр класса ToolStripSplitButton с указанным отображаемым текстом, заданным изображением и обработчиком событий Click.

ToolStripSplitButton(String, Image, ToolStripItem[])

Инициализирует новый экземпляр класса ToolStripSplitButton с указанным текстом, заданным изображением и массивом ToolStripItem.

ToolStripSplitButton(String, Image, EventHandler, String)

Инициализирует новый экземпляр класса ToolStripSplitButton с указанным отображаемым текстом, заданным изображением, обработчиком событий Click и именем.

ToolStripSplitButton()

Инициализирует новый экземпляр класса ToolStripSplitButton.

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

Применяется к

ToolStripSplitButton(Image)

Инициализирует новый экземпляр класса ToolStripSplitButton с указанным изображением.

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

Параметры

image
Image

Объект Image, отображаемый на кнопке ToolStripSplitButton.

Применяется к

ToolStripSplitButton(String)

Инициализирует новый экземпляр класса ToolStripSplitButton с указанным текстом.

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

Параметры

text
String

Текст, отображаемый на кнопке ToolStripSplitButton.

Применяется к

ToolStripSplitButton(String, Image)

Инициализирует новый экземпляр класса ToolStripSplitButton с указанным текстом и заданным изображением.

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

Параметры

text
String

Текст, отображаемый на кнопке ToolStripSplitButton.

image
Image

Объект Image, отображаемый на кнопке ToolStripSplitButton.

Применяется к

ToolStripSplitButton(String, Image, EventHandler)

Инициализирует новый экземпляр класса ToolStripSplitButton с указанным отображаемым текстом, заданным изображением и обработчиком событий Click.

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

Параметры

text
String

Текст, отображаемый на кнопке ToolStripSplitButton.

image
Image

Объект Image, отображаемый на кнопке ToolStripSplitButton.

onClick
EventHandler

Вызывает событие Click по щелчку кнопки ToolStripSplitButton пользователем.

Применяется к

ToolStripSplitButton(String, Image, ToolStripItem[])

Инициализирует новый экземпляр класса ToolStripSplitButton с указанным текстом, заданным изображением и массивом ToolStripItem.

public:
 ToolStripSplitButton(System::String ^ text, System::Drawing::Image ^ image, ... cli::array <System::Windows::Forms::ToolStripItem ^> ^ dropDownItems);
public ToolStripSplitButton (string text, System.Drawing.Image image, params System.Windows.Forms.ToolStripItem[] dropDownItems);
public ToolStripSplitButton (string? text, System.Drawing.Image? image, params System.Windows.Forms.ToolStripItem[]? dropDownItems);
new System.Windows.Forms.ToolStripSplitButton : string * System.Drawing.Image * System.Windows.Forms.ToolStripItem[] -> System.Windows.Forms.ToolStripSplitButton
Public Sub New (text As String, image As Image, ParamArray dropDownItems As ToolStripItem())

Параметры

text
String

Текст, отображаемый на кнопке ToolStripSplitButton.

image
Image

Объект Image, отображаемый на кнопке ToolStripSplitButton.

dropDownItems
ToolStripItem[]

Массив ToolStripItem элементов управления.

Применяется к

ToolStripSplitButton(String, Image, EventHandler, String)

Инициализирует новый экземпляр класса ToolStripSplitButton с указанным отображаемым текстом, заданным изображением, обработчиком событий Click и именем.

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

Параметры

text
String

Текст, отображаемый на кнопке ToolStripSplitButton.

image
Image

Объект Image, отображаемый на кнопке ToolStripSplitButton.

onClick
EventHandler

Вызывает событие Click по щелчку кнопки ToolStripSplitButton пользователем.

Применяется к