From a901ab38acad628b6abd3c9b58e5dcf046ed1cfd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wies=C5=82aw=20=C5=A0olt=C3=A9s?= Date: Tue, 17 May 2022 10:31:42 +0200 Subject: [PATCH] Revert --- .../Primitives/SelectingItemsControl.cs | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) 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. ///