Nevron .NET Vision
Nevron.UI.WinForm.Docking Namespace / NSizeInfo Class / ShouldAutoSize Method


In This Topic
    ShouldAutoSize Method (NSizeInfo)
    In This Topic
    Checks whether the container of this size info should be autosized by a layout engine. For example a child may have SizeLogic set to Absolute but its absolute size to be empty. In this case the child will be also autosized.
    Syntax
    'Declaration
     
    
    Public Function ShouldAutoSize( _
       ByVal orientation As System.Windows.Forms.Orientation _
    ) As System.Boolean
    'Usage
     
    
    Dim instance As NSizeInfo
    Dim orientation As System.Windows.Forms.Orientation
    Dim value As System.Boolean
     
    value = instance.ShouldAutoSize(orientation)
    public System.bool ShouldAutoSize( 
       System.Windows.Forms.Orientation orientation
    )

    Parameters

    orientation
    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