Nevron .NET Vision
Nevron.Diagram.WinForm Namespace / NDrawingView Class / NeedsViewBackgroundPaint Method
paint event arguments


In This Topic
    NeedsViewBackgroundPaint Method (NDrawingView)
    In This Topic
    Determines the need for a view background paint pass
    Syntax
    'Declaration
     
    
    Protected Overrides Function NeedsViewBackgroundPaint( _
       ByVal context As NViewPaintContext _
    ) As System.Boolean
    'Usage
     
    
    Dim instance As NDrawingView
    Dim context As NViewPaintContext
    Dim value As System.Boolean
     
    value = instance.NeedsViewBackgroundPaint(context)
    protected override System.bool NeedsViewBackgroundPaint( 
       NViewPaintContext context
    )

    Parameters

    context
    paint event arguments

    Return Value

    true if view background paint pass is needed, otherwise false
    Remarks
    Overriden to return true if the graphics clip rect intersects with the window, the grid is visible
    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