diff --git a/src/Avalonia.Controls/Primitives/SelectingItemsControl.cs b/src/Avalonia.Controls/Primitives/SelectingItemsControl.cs index e6d48ca149..a5726608a6 100644 --- a/src/Avalonia.Controls/Primitives/SelectingItemsControl.cs +++ b/src/Avalonia.Controls/Primitives/SelectingItemsControl.cs @@ -103,7 +103,7 @@ namespace Avalonia.Controls.Primitives /// public static readonly RoutedEvent IsSelectedChangedEvent = RoutedEvent.Register( - nameof(IsSelectedChanged), + nameof("IsSelectedChanged"), RoutingStrategies.Bubble); /// @@ -139,17 +139,6 @@ namespace Avalonia.Controls.Primitives IsSelectedChangedEvent.AddClassHandler((x, e) => x.ContainerSelectionChanged(e)); } - /// - /// Event that should be raised by items that implement to - /// notify the parent that their selection state - /// has changed. - /// - public event EventHandler? IsSelectedChanged - { - add { AddHandler(IsSelectedChangedEvent, value); } - remove { RemoveHandler(IsSelectedChangedEvent, value); } - } - /// /// Occurs when the control's selection changes. ///