Explorar o código

Make TreeView.SelectionModeProperty public so it can be set from styles.

Dariusz Komosinski %!s(int64=6) %!d(string=hai) anos
pai
achega
fe5d5bca1b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/Avalonia.Controls/TreeView.cs

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

@@ -48,7 +48,7 @@ namespace Avalonia.Controls
         /// <summary>
         /// Defines the <see cref="SelectionMode"/> property.
         /// </summary>
-        protected static readonly StyledProperty<SelectionMode> SelectionModeProperty =
+        public static readonly StyledProperty<SelectionMode> SelectionModeProperty =
             AvaloniaProperty.Register<SelectingItemsControl, SelectionMode>(
                 nameof(SelectionMode));