Nevron .NET Vision
Nevron.UI.WinForm Namespace / NControl Class / CalculatePreferredSize Method


In This Topic
    CalculatePreferredSize Method (NControl)
    In This Topic
    Calculates the preferred size of the control.
    Syntax
    'Declaration
     
    
    Public Overridable Function CalculatePreferredSize() As NSize
    'Usage
     
    
    Dim instance As NControl
    Dim value As NSize
     
    value = instance.CalculatePreferredSize()
    public virtual NSize CalculatePreferredSize()
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also