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 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, 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), Windows Server 2003 SP2

    See Also