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

In This Topic
    CanUserAddRows Property
    In This Topic
    Gets or sets a value indicating whether the user is able to enter new rows by entering the data in each cell of the "new row" typically located at the bottom of the data grid.
    Syntax
    'Declaration
     
    
    Public Property CanUserAddRows As Boolean
    public bool CanUserAddRows {get; set;}
    Remarks

    If set to false the "new row" element will not appear, therefore the user will not be able to enter new rows.

    Notice the availability of this feature is conditioned to the fact that the ItemsSource set supports adding new items.

    See Also