Merge pull request #127 from tuskermanshu/release/5.0

fix:修复List组件empty状态的数据驱动优先级问题
This commit is contained in:
qinware
2025-11-11 18:28:17 +08:00
committed by GitHub
+1 -1
View File
@@ -62,7 +62,7 @@ public class List : TemplatedControl,
AvaloniaProperty.Register<List, IDataTemplate?>(nameof(EmptyIndicatorTemplate));
public static readonly StyledProperty<bool> IsShowEmptyIndicatorProperty =
AvaloniaProperty.Register<List, bool>(nameof(IsShowEmptyIndicator), false);
AvaloniaProperty.Register<List, bool>(nameof(IsShowEmptyIndicator), true);
public static readonly StyledProperty<bool> IsGroupEnabledProperty =
AvaloniaProperty.Register<List, bool>(nameof(IsGroupEnabled), false);