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


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

    Parameters

    visitor
    Remarks
    This implementation paints the box background. Note that unlike normal boxes, which render the border in the background, windows render the border in the foreground.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, 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)

    See Also