'Declaration
Public Event RenderItemText As System.Windows.Forms.ToolStripItemTextRenderEventHandler
'Usage
Dim instance As NToolStripSkinRenderer Dim handler As System.Windows.Forms.ToolStripItemTextRenderEventHandler AddHandler instance.RenderItemText, handler
public event System.Windows.Forms.ToolStripItemTextRenderEventHandler RenderItemText
Event Data
The event handler receives an argument of type System.Windows.Forms.ToolStripItemTextRenderEventArgs containing data related to this event. The following ToolStripItemTextRenderEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Graphics | (Inherited from System.Windows.Forms.ToolStripItemRenderEventArgs) |
Item | (Inherited from System.Windows.Forms.ToolStripItemRenderEventArgs) |
Text | Gets or sets the text to be drawn on the System.Windows.Forms.ToolStripItem. |
TextColor | Gets or sets the color of the System.Windows.Forms.ToolStripItem text. |
TextDirection | Gets or sets whether the text is drawn vertically or horizontally. |
TextFont | Gets or sets the font of the text drawn on the System.Windows.Forms.ToolStripItem. |
TextFormat | Gets or sets the display and layout information of the text drawn on the System.Windows.Forms.ToolStripItem. |
TextRectangle | Gets or sets the rectangle that represents the bounds to draw the text in. |
ToolStrip | (Inherited from System.Windows.Forms.ToolStripItemRenderEventArgs) |
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also