Nevron Open Vision Documentation
Nevron.Nov.UI Namespace / NBoxElement Class / OnPaintBackground Method


In This Topic
    OnPaintBackground Method (NBoxElement)
    In This Topic
    Paints the background of the box, which is performed before the custom painting in OnPrePaint.
    Syntax
    'Declaration
     
    
    Protected Overridable Sub OnPaintBackground( _
       ByVal visitor As NPaintVisitor _
    ) 
    'Usage
     
    
    Dim instance As NBoxElement
    Dim visitor As NPaintVisitor
     
    instance.OnPaintBackground(visitor)
    protected virtual void OnPaintBackground( 
       NPaintVisitor visitor
    )

    Parameters

    visitor
    Remarks
    This implementation paints the box background and border.
    Requirements

    Target Platforms: Windows 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also