ComponentOne DataGrid for WPF and Silverlight
CanUserRemoveRows Property (C1DataGrid)

C1.WPF.DataGrid Namespace > C1DataGrid Class : CanUserRemoveRows Property
Gets or sets a value indicating whether the user is able to remove rows by pressing Del key.
Syntax
'Declaration
 
Public Property CanUserRemoveRows As System.Boolean
public System.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

Reference

C1DataGrid Class
C1DataGrid Members