ToolStripItemRenderEventArgs(Graphics, ToolStripItem) Constructor
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 ToolStripItemRenderEventArgs class for the specified ToolStripItem and using the specified Graphics.
public:
ToolStripItemRenderEventArgs(System::Drawing::Graphics ^ g, System::Windows::Forms::ToolStripItem ^ item);
public ToolStripItemRenderEventArgs (System.Drawing.Graphics g, System.Windows.Forms.ToolStripItem item);
new System.Windows.Forms.ToolStripItemRenderEventArgs : System.Drawing.Graphics * System.Windows.Forms.ToolStripItem -> System.Windows.Forms.ToolStripItemRenderEventArgs
Public Sub New (g As Graphics, item As ToolStripItem)
Parameters
- item
- ToolStripItem
The ToolStripItem to be drawn.
Exceptions
g
or item
is null.
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.