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
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기