Spread Windows Forms 15.0
GrapeCity.Win.PluginInputMan Assembly / GrapeCity.Win.Spread.InputMan.CellType Namespace / GcComboBoxCellType Class / AutoGenerateColumns Property


In This Topic
    AutoGenerateColumns Property (GcComboBoxCellType)
    In This Topic
    Gets or sets whether columns are created automatically when the DataSource or DataMember property is set.
    Syntax
    'Declaration
     
    
    Public Property AutoGenerateColumns As Boolean
    'Usage
     
    
    Dim instance As GcComboBoxCellType
    Dim value As Boolean
     
    instance.AutoGenerateColumns = value
     
    value = instance.AutoGenerateColumns
    public bool AutoGenerateColumns {get; set;}

    Property Value

    Abool value, true if the columns should be created automatically; otherwise,false .
    The default is true.
    Remarks
    When the user binds a source to DataMember, columns are automatically generated in the drop-down list based on the data source.
    See Also