TagInput 增加 CleanLostFocus 用于失去焦点后清空TextBox数据

This commit is contained in:
杨劼
2024-04-23 22:53:26 +08:00
parent f4ca383f6c
commit 17295c2ddf
2 changed files with 20 additions and 0 deletions

View File

@@ -21,6 +21,7 @@
<u:TagInput
Margin="20"
AllowDuplicates="False"
CleanLostFocus="true"
Separator="-"
Tags="{Binding DistinctTags}" />
<ListBox ItemsSource="{Binding DistinctTags}" />