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


In This Topic
    RenderToolStripBorder Event
    In This Topic
    Syntax
    'Declaration
     
    
    Public Event RenderToolStripBorder As System.Windows.Forms.ToolStripRenderEventHandler
    'Usage
     
    
    Dim instance As NToolStripSkinRenderer
    Dim handler As System.Windows.Forms.ToolStripRenderEventHandler
     
    AddHandler instance.RenderToolStripBorder, handler
    public event System.Windows.Forms.ToolStripRenderEventHandler RenderToolStripBorder
    Event Data

    The event handler receives an argument of type System.Windows.Forms.ToolStripRenderEventArgs containing data related to this event. The following ToolStripRenderEventArgs properties provide information specific to this event.

    PropertyDescription
    Gets the System.Drawing.Rectangle representing the bounds of the area to be painted.  
    Gets the System.Drawing.Color that the background of the System.Windows.Forms.ToolStrip is painted with.  
    Gets the System.Drawing.Rectangle representing the overlap area between a System.Windows.Forms.ToolStripDropDown and its System.Windows.Forms.ToolStripDropDown.OwnerItem.  
    Gets the System.Drawing.Graphics used to paint.  
    Gets the System.Windows.Forms.ToolStrip to be painted.  
    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