feat: implement tree single selection.

This commit is contained in:
rabbitism
2024-04-17 01:02:57 +08:00
parent 4b58825ac4
commit 887242d4a6
2 changed files with 146 additions and 27 deletions

View File

@@ -18,6 +18,7 @@ public class TreeComboBoxItem: HeaderedItemsControl, ISelectable
{
private Control? _header;
private TreeComboBox? _treeComboBox;
public TreeComboBox? Owner => _treeComboBox;
public static readonly StyledProperty<bool> IsSelectedProperty = TreeViewItem.IsSelectedProperty.AddOwner<TreeComboBoxItem>();