ComponentOne List for WinForms
C1.Win.List Namespace / DropDownList Class / HoldFields Method

In This Topic
    HoldFields Method (DropDownList)
    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 C1.Win.List.ListBase.C1ListBase.Rebind operations will use the current layout for display. You can resume the list's automatic layout behavior by invoking the C1.Win.List.ListBase.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 C1.Win.List.ListBase.C1ListBase.Rebind operation.

    See Also