ComponentOne DataGrid for WPF and Silverlight
C1.WPF.DataGrid Namespace / C1DataGrid Class / AutoGenerateColumns Property

In This Topic
    AutoGenerateColumns Property
    In This Topic
    Gets or sets a value indicating whether columns are created automatically when the ItemsSource property is set.
    Syntax
    'Declaration
     
    
    Public Property AutoGenerateColumns As Boolean
    public bool AutoGenerateColumns {get; set;}
    Remarks
    The event AutoGeneratingColumn will be raised for each column allowing to change or replace the generated column. After all columns are created the event AutoGeneratedColumns will be raised.
    See Also