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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.