Nevron .NET Vision
Nevron.Diagram.WinForm Namespace / NView Class / DoPaint Method


In This Topic
    DoPaint Method (NView)
    In This Topic
    Performs the merged painting of the view and and the document
    Syntax
    'Declaration
     
    
    Public Overridable Sub DoPaint( _
       ByVal paintContext As NViewPaintContext _
    ) 
    'Usage
     
    
    Dim instance As NView
    Dim paintContext As NViewPaintContext
     
    instance.DoPaint(paintContext)
    public virtual void DoPaint( 
       NViewPaintContext paintContext
    )

    Parameters

    paintContext
    Remarks
    This method is called by the overriden OnPaint method. This implementation will perform the following steps:

    1. Call the PaintDocumentBackground method if the NeedsDocumentBackgroundPaint method returned true.

    2. Call the PaintViewBackground method if the NeedsViewBackgroundPaint method returned true.

    3. Call the PaintDocument method if the NeedsDocumentForegroundPaint method returned true.

    4. Call the PaintView method if the NeedsViewForegroundPaint method returned true.

    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