Nevron.UI.WinForm.Controls Namespace / NToolStripSkinRenderer Class / RenderItemText Event


In This Topic
    RenderItemText Event
    In This Topic
    Syntax
    '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.

    PropertyDescription
    (Inherited from System.Windows.Forms.ToolStripItemRenderEventArgs)
    (Inherited from System.Windows.Forms.ToolStripItemRenderEventArgs)
    Gets or sets the text to be drawn on the System.Windows.Forms.ToolStripItem.  
    Gets or sets the color of the System.Windows.Forms.ToolStripItem text.  
    Gets or sets whether the text is drawn vertically or horizontally.  
    Gets or sets the font of the text drawn on the System.Windows.Forms.ToolStripItem.  
    Gets or sets the display and layout information of the text drawn on the System.Windows.Forms.ToolStripItem.  
    Gets or sets the rectangle that represents the bounds to draw the text in.  
    (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