feat: add a simple template.

This commit is contained in:
rabbitism
2024-03-24 16:45:29 +08:00
parent d271623a66
commit d91a17474c
3 changed files with 24 additions and 3 deletions

View File

@@ -1,4 +1,6 @@
using System.Collections.ObjectModel;
using System.Collections;
using System.Collections.ObjectModel;
using System.Collections.Specialized;
using Avalonia;
using Avalonia.Controls;
using Avalonia.Controls.Primitives;
@@ -8,8 +10,6 @@ namespace Ursa.Controls;
public class MultiComboBox: SelectingItemsControl
{
private ComboBox _box;
private static ITemplate<Panel?> _defaultPanel = new FuncTemplate<Panel?>(() => new VirtualizingStackPanel());
public static readonly StyledProperty<bool> IsDropDownOpenProperty =