ComponentOne List for WinForms
C1.Win.C1List.ListBase Namespace / C1ListBase Class / HoldFields Method

In This Topic
    HoldFields Method (C1ListBase)
    In This Topic
    Holds the current column/field layout.
    Syntax
    'Declaration
     
    
    Public Sub HoldFields() 
    public void HoldFields()
    Remarks

    The HoldFields method sets the current column/field layout as the customized layout so that subsequent Rebind operations will use the current layout for display. You can resume the list's automatic layout behavior by invoking the Frame.ClearFields method.

    The HoldFields method is especially useful in the unbound modes when you have specified the column layout in code and would like to keep it intact after a Rebind operation.

    See Also