Spread WPF 18
GrapeCity.Wpf.SpreadSheet.CellType.Editors Namespace / GcListBox Class / AutoGenerateColumns Property


In This Topic
    AutoGenerateColumns Property (GcListBox)
    In This Topic
    Gets or sets a value indicating whether auto generate columns. This is a dependency property.
    Syntax
    'Declaration
     
    Public Property AutoGenerateColumns As Boolean
    'Usage
     
    Dim instance As GcListBox
    Dim value As Boolean
     
    instance.AutoGenerateColumns = value
     
    value = instance.AutoGenerateColumns
    public bool AutoGenerateColumns {get; set;}

    Property Value

    true if auto generate columns; otherwise, false. The default is true.
    Remarks
    You can modify the Columns collection at run time regardless of whether it contains generated columns. However, if you specify columns in XAML, you should set AutoGenerateColumns to false.
    See Also