ToolStripRenderEventArgs Constructors
Definition
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.
Overloads
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. |
ToolStripRenderEventArgs(Graphics, ToolStrip)
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
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.
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)