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

In This Topic
    CanUserRemoveRows Property
    In This Topic
    Gets or sets a value indicating whether the user is able to remove rows by pressing Del key.
    Syntax
    'Declaration
     
    
    Public Property CanUserRemoveRows As Boolean
    public bool CanUserRemoveRows {get; set;}
    Remarks

    If you want to prevent users from adding and editing rows as well you can use IsReadOnly instead.

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

    See Also