Nevron Open Vision Documentation
Nevron.Nov.UI Namespace / NTopLevelWindow Class / OnPaintForeground Method


In This Topic
    OnPaintForeground Method (NTopLevelWindow)
    In This Topic
    Paints the foreground of the box, which is performed after the custom painting in OnPostPaint
    Syntax
    'Declaration
     
    
    Protected Overrides Sub OnPaintForeground( _
       ByVal visitor As NPaintVisitor _
    ) 
    'Usage
     
    
    Dim instance As NTopLevelWindow
    Dim visitor As NPaintVisitor
     
    instance.OnPaintForeground(visitor)
    protected override void OnPaintForeground( 
       NPaintVisitor visitor
    )

    Parameters

    visitor
    Remarks
    This implementation renders the focus decorator, the window border and the frame border.
    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