Nevron.UI.WinForm Namespace / NUIElementHost Class / CreatePaintContext Method


In This Topic
    CreatePaintContext Method (NUIElementHost)
    In This Topic
    Syntax
    'Declaration
     
    
    Protected Overridable Function CreatePaintContext( _
       ByVal g As System.Drawing.Graphics, _
       ByVal paintRect As NRectangle, _
       ByVal clipRect As NRectangle _
    ) As NPaintContext
    'Usage
     
    
    Dim instance As NUIElementHost
    Dim g As System.Drawing.Graphics
    Dim paintRect As NRectangle
    Dim clipRect As NRectangle
    Dim value As NPaintContext
     
    value = instance.CreatePaintContext(g, paintRect, clipRect)
    protected virtual NPaintContext CreatePaintContext( 
       System.Drawing.Graphics g,
       NRectangle paintRect,
       NRectangle clipRect
    )

    Parameters

    g
    paintRect
    clipRect
    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