Nevron .NET Vision
Nevron.UI.WinForm.Docking Namespace / NDockZoneLayoutEngine Class / GetChildWidth Method


In This Topic
    GetChildWidth Method
    In This Topic
    Gets the width to be applied on a child. Default processing will check the current size logic of the child and calculate the appropriate value.
    Syntax
    'Declaration
     
    
    Protected Overridable Function GetChildWidth( _
       ByVal info As NLayoutInfo, _
       ByVal child As INDockZoneChild, _
       ByVal availableWidth As System.Integer _
    ) As System.Integer
    'Usage
     
    
    Dim instance As NDockZoneLayoutEngine
    Dim info As NLayoutInfo
    Dim child As INDockZoneChild
    Dim availableWidth As System.Integer
    Dim value As System.Integer
     
    value = instance.GetChildWidth(info, child, availableWidth)
    protected virtual System.int GetChildWidth( 
       NLayoutInfo info,
       INDockZoneChild child,
       System.int availableWidth
    )

    Parameters

    info
    child
    availableWidth
    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