ToolStripItemImageRenderEventArgs 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 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)
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
- item
- ToolStripItem
The ToolStripItem.
- imageRectangle
- Rectangle
The bounding area of the image.
Applies to
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.
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
- item
- ToolStripItem
The ToolStripItem on which to draw the image.
- imageRectangle
- Rectangle
The bounding area of the image.
Applies to
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin