ToolStrip Constructors

Definition

Initializes a new instance of the ToolStrip class.

Overloads

ToolStrip()

Initializes a new instance of the ToolStrip class.

ToolStrip(ToolStripItem[])

Initializes a new instance of the ToolStrip class with the specified array of ToolStripItems.

ToolStrip()

Source:
ToolStrip.cs
Source:
ToolStrip.cs
Source:
ToolStrip.cs

Initializes a new instance of the ToolStrip class.

C#
public ToolStrip();

Applies to

.NET Framework 4.8.1 a ďalšie verzie
Produkt Verzie
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10

ToolStrip(ToolStripItem[])

Source:
ToolStrip.cs
Source:
ToolStrip.cs
Source:
ToolStrip.cs

Initializes a new instance of the ToolStrip class with the specified array of ToolStripItems.

C#
public ToolStrip(params System.Windows.Forms.ToolStripItem[] items);

Parameters

items
ToolStripItem[]

An array of ToolStripItem objects.

Applies to

.NET Framework 4.8.1 a ďalšie verzie
Produkt Verzie
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10