ToolStripRenderEventArgs Constructors
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the ToolStripRenderEventArgs class.
ToolStripRenderEventArgs(Graphics, ToolStrip) |
Initializes a new instance of the ToolStripRenderEventArgs class for the specified ToolStrip and using the specified Graphics. |
ToolStripRenderEventArgs(Graphics, ToolStrip, Rectangle, Color) |
Initializes a new instance of the ToolStripRenderEventArgs class for the specified ToolStrip, using the specified Graphics to paint the specified bounds with the specified Color. |
- Source:
- ToolStripRenderEventArgs.cs
- Source:
- ToolStripRenderEventArgs.cs
- Source:
- ToolStripRenderEventArgs.cs
Initializes a new instance of the ToolStripRenderEventArgs class for the specified ToolStrip and using the specified Graphics.
public:
ToolStripRenderEventArgs(System::Drawing::Graphics ^ g, System::Windows::Forms::ToolStrip ^ toolStrip);
public ToolStripRenderEventArgs(System.Drawing.Graphics g, System.Windows.Forms.ToolStrip toolStrip);
new System.Windows.Forms.ToolStripRenderEventArgs : System.Drawing.Graphics * System.Windows.Forms.ToolStrip -> System.Windows.Forms.ToolStripRenderEventArgs
Public Sub New (g As Graphics, toolStrip As ToolStrip)
Parameters
Applies to
.NET Framework 4.8.1 och andra versioner
Produkt | Versioner |
---|---|
.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 |
- Source:
- ToolStripRenderEventArgs.cs
- Source:
- ToolStripRenderEventArgs.cs
- Source:
- ToolStripRenderEventArgs.cs
Initializes a new instance of the ToolStripRenderEventArgs class for the specified ToolStrip, using the specified Graphics to paint the specified bounds with the specified Color.
public:
ToolStripRenderEventArgs(System::Drawing::Graphics ^ g, System::Windows::Forms::ToolStrip ^ toolStrip, System::Drawing::Rectangle affectedBounds, System::Drawing::Color backColor);
public ToolStripRenderEventArgs(System.Drawing.Graphics g, System.Windows.Forms.ToolStrip toolStrip, System.Drawing.Rectangle affectedBounds, System.Drawing.Color backColor);
new System.Windows.Forms.ToolStripRenderEventArgs : System.Drawing.Graphics * System.Windows.Forms.ToolStrip * System.Drawing.Rectangle * System.Drawing.Color -> System.Windows.Forms.ToolStripRenderEventArgs
Public Sub New (g As Graphics, toolStrip As ToolStrip, affectedBounds As Rectangle, backColor As Color)
Parameters
Applies to
.NET Framework 4.8.1 och andra versioner
Produkt | Versioner |
---|---|
.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 |
Feedback om .NET
.NET är ett öppen källkod projekt. Välj en länk för att ge feedback: