1
0
Эх сурвалжийг харах

Make sure that property is registered on a correct type.

Dariusz Komosinski 6 жил өмнө
parent
commit
ebe92b6619

+ 1 - 1
src/Avalonia.Controls/TreeView.cs

@@ -49,7 +49,7 @@ namespace Avalonia.Controls
         /// Defines the <see cref="SelectionMode"/> property.
         /// </summary>
         public static readonly StyledProperty<SelectionMode> SelectionModeProperty =
-            AvaloniaProperty.Register<SelectingItemsControl, SelectionMode>(
+            AvaloniaProperty.Register<TreeView, SelectionMode>(
                 nameof(SelectionMode));
 
         private static readonly IList Empty = new object[0];