Редагувати

Поділитися через


ToolStripItemImageRenderEventArgs Constructors

Definition

Initializes a new instance of the ToolStripItemImageRenderEventArgs class.

Overloads

ToolStripItemImageRenderEventArgs(Graphics, ToolStripItem, Rectangle)

Initializes a new instance of the ToolStripItemImageRenderEventArgs class for the specified ToolStripItem within the specified space and that has the specified properties.

ToolStripItemImageRenderEventArgs(Graphics, ToolStripItem, Image, Rectangle)

Initializes a new instance of the ToolStripItemImageRenderEventArgs class for the specified ToolStripItem that displays an image within the specified space and that has the specified properties.

ToolStripItemImageRenderEventArgs(Graphics, ToolStripItem, Rectangle)

Source:
ToolStripItemImageRenderEventArgs.cs
Source:
ToolStripItemImageRenderEventArgs.cs
Source:
ToolStripItemImageRenderEventArgs.cs

Initializes a new instance of the ToolStripItemImageRenderEventArgs class for the specified ToolStripItem within the specified space and that has the specified properties.

public:
 ToolStripItemImageRenderEventArgs(System::Drawing::Graphics ^ g, System::Windows::Forms::ToolStripItem ^ item, System::Drawing::Rectangle imageRectangle);
public ToolStripItemImageRenderEventArgs (System.Drawing.Graphics g, System.Windows.Forms.ToolStripItem item, System.Drawing.Rectangle imageRectangle);
new System.Windows.Forms.ToolStripItemImageRenderEventArgs : System.Drawing.Graphics * System.Windows.Forms.ToolStripItem * System.Drawing.Rectangle -> System.Windows.Forms.ToolStripItemImageRenderEventArgs
Public Sub New (g As Graphics, item As ToolStripItem, imageRectangle As Rectangle)

Parameters

g
Graphics

The Graphics used to paint the image.

imageRectangle
Rectangle

The bounding area of the image.

Applies to

ToolStripItemImageRenderEventArgs(Graphics, ToolStripItem, Image, Rectangle)

Source:
ToolStripItemImageRenderEventArgs.cs
Source:
ToolStripItemImageRenderEventArgs.cs
Source:
ToolStripItemImageRenderEventArgs.cs

Initializes a new instance of the ToolStripItemImageRenderEventArgs class for the specified ToolStripItem that displays an image within the specified space and that has the specified properties.

public:
 ToolStripItemImageRenderEventArgs(System::Drawing::Graphics ^ g, System::Windows::Forms::ToolStripItem ^ item, System::Drawing::Image ^ image, System::Drawing::Rectangle imageRectangle);
public ToolStripItemImageRenderEventArgs (System.Drawing.Graphics g, System.Windows.Forms.ToolStripItem item, System.Drawing.Image image, System.Drawing.Rectangle imageRectangle);
public ToolStripItemImageRenderEventArgs (System.Drawing.Graphics g, System.Windows.Forms.ToolStripItem item, System.Drawing.Image? image, System.Drawing.Rectangle imageRectangle);
new System.Windows.Forms.ToolStripItemImageRenderEventArgs : System.Drawing.Graphics * System.Windows.Forms.ToolStripItem * System.Drawing.Image * System.Drawing.Rectangle -> System.Windows.Forms.ToolStripItemImageRenderEventArgs
Public Sub New (g As Graphics, item As ToolStripItem, image As Image, imageRectangle As Rectangle)

Parameters

g
Graphics

The Graphics used to paint the image.

item
ToolStripItem

The ToolStripItem on which to draw the image.

image
Image

The Image to paint.

imageRectangle
Rectangle

The bounding area of the image.

Applies to