Nevron Open Vision Documentation
Nevron.Nov.UI Namespace / NBoxElement Class / PreferredSize Property


In This Topic
    PreferredSize Property
    In This Topic
    A shortcut property that gets/sets the preferred size of the element (PreferredWidth and PreferredHeight).
    Syntax
    'Declaration
     
    
    Public Property PreferredSize As NSize
    'Usage
     
    
    Dim instance As NBoxElement
    Dim value As NSize
     
    instance.PreferredSize = value
     
    value = instance.PreferredSize
    public NSize PreferredSize {get; set;}
    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