ComponentOne List for WinForms
C1.Win.C1List Namespace / DropDownList Class / DefColWidth Property

In This Topic
    DefColWidth Property (DropDownList)
    In This Topic
    Specifies column width for auto-created columns.
    Syntax
    'Declaration
     
    
    Public Property DefColWidth As Integer
    public int DefColWidth {get; set;}
    Remarks

    Setting the DefColWidth property at run time does not affect existing columns, only those that are subsequently created in code.

    In bound mode, some data sources do not provide text field widths when requested by the list. Therefore, if DefColWidth is 0, the actual column widths may not be what you expect since the list must supply a default width.

    See Also