diff --git a/src/Avalonia.Controls.DataGrid/DataGrid.cs b/src/Avalonia.Controls.DataGrid/DataGrid.cs index 95ee73be4e5..b90bc769632 100644 --- a/src/Avalonia.Controls.DataGrid/DataGrid.cs +++ b/src/Avalonia.Controls.DataGrid/DataGrid.cs @@ -1254,7 +1254,7 @@ private void OnCanUserResizeColumnsChanged(AvaloniaPropertyChangedEventArgs e) public event EventHandler SelectionChanged { add { AddHandler(SelectionChangedEvent, value); } - remove { AddHandler(SelectionChangedEvent, value); } + remove { RemoveHandler(SelectionChangedEvent, value); } } ///