Xceed SmartUI for WinForms v3.6 Documentation
Xceed.SmartUI.v3.6 Assembly / Xceed.SmartUI Namespace / SmartLayout Class / LayoutVerticalSubItems Method
A reference to a SmartItem representing the SmartItem whose child SmartItems' layouts are to be updated.
A value representing the offset at which to start disposing the SmartItems.
A value representing the left margin of the layout.
A value representing the left margin of the layout.


In This Topic
    LayoutVerticalSubItems Method
    In This Topic
    Generic method to layout SmartItems vertically when a layout isn't aware of any particularities in regards to its SmartItems.
    Syntax
    'Declaration
     
    Protected Function LayoutVerticalSubItems( _
       ByVal item As SmartItem, _
       ByVal topOffset As Integer, _
       ByVal leftMargin As Integer, _
       ByVal rightMargin As Integer _
    ) As Integer
    'Usage
     
    Dim instance As SmartLayout
    Dim item As SmartItem
    Dim topOffset As Integer
    Dim leftMargin As Integer
    Dim rightMargin As Integer
    Dim value As Integer
     
    value = instance.LayoutVerticalSubItems(item, topOffset, leftMargin, rightMargin)
    protected int LayoutVerticalSubItems( 
       SmartItem item,
       int topOffset,
       int leftMargin,
       int rightMargin
    )

    Parameters

    item
    A reference to a SmartItem representing the SmartItem whose child SmartItems' layouts are to be updated.
    topOffset
    A value representing the offset at which to start disposing the SmartItems.
    leftMargin
    A value representing the left margin of the layout.
    rightMargin
    A value representing the left margin of the layout.

    Return Value

    The total height of layout's SmartItems.
    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