Nevron Open Vision Documentation
Nevron.Nov.UI Namespace / NScrollContentBase Class / ComputeWindowSize Method


In This Topic
    ComputeWindowSize Method (NScrollContentBase)
    In This Topic
    Overriden to compute the area that remains after the H and V srollbars subtract space from the content area.
    Syntax
    'Declaration
     
    
    Protected Overrides Function ComputeWindowSize( _
       ByVal ca As NRectangle, _
       ByVal showHScrollBar As System.Boolean, _
       ByVal showVScrollBar As System.Boolean _
    ) As NSize
    'Usage
     
    
    Dim instance As NScrollContentBase
    Dim ca As NRectangle
    Dim showHScrollBar As System.Boolean
    Dim showVScrollBar As System.Boolean
    Dim value As NSize
     
    value = instance.ComputeWindowSize(ca, showHScrollBar, showVScrollBar)
    protected override NSize ComputeWindowSize( 
       NRectangle ca,
       System.bool showHScrollBar,
       System.bool showVScrollBar
    )

    Parameters

    ca
    showHScrollBar
    showVScrollBar
    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