Nevron Open Vision Documentation
Nevron.Nov.UI Namespace / NUITheme Class / PreferredSize Method


In This Topic
    PreferredSize Method
    In This Topic
    Sets the preferred size of the given theming style to the specified width and height.
    Syntax
    'Declaration
     
    
    Public Sub PreferredSize( _
       ByVal style As NThemeStyle, _
       ByVal width As System.Double, _
       ByVal height As System.Double _
    ) 
    'Usage
     
    
    Dim instance As NUITheme
    Dim style As NThemeStyle
    Dim width As System.Double
    Dim height As System.Double
     
    instance.PreferredSize(style, width, height)
    public void PreferredSize( 
       NThemeStyle style,
       System.double width,
       System.double height
    )

    Parameters

    style
    width
    height
    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