Nevron Open Vision Documentation
Nevron.Nov.Layout Namespace / NBoxLayout Class / Measure Method


In This Topic
    Measure Method (NBoxLayout)
    In This Topic
    Gets the desired size of the layout container, assuming that the arranged objects are at their desired size.
    Syntax
    'Declaration
     
    
    Public Overridable Function Measure( _
       ByVal objects As NList(Of Object), _
       ByVal context As NLayoutContext _
    ) As NSize
    'Usage
     
    
    Dim instance As NBoxLayout
    Dim objects As NList(Of Object)
    Dim context As NLayoutContext
    Dim value As NSize
     
    value = instance.Measure(objects, context)
    public virtual NSize Measure( 
       NList<object> objects,
       NLayoutContext context
    )

    Parameters

    objects
    context
    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