feat: add separator and duplicate support, try to vertical center textbox.

This commit is contained in:
rabbitism
2023-06-29 03:10:23 +08:00
parent c9eb87cd37
commit c878e45047
4 changed files with 64 additions and 11 deletions

View File

@@ -9,7 +9,14 @@
d:DesignWidth="800"
mc:Ignorable="d">
<StackPanel>
<u:TagInput Name="labels" Margin="20" />
<u:TagInput
Name="labels"
Margin="20"
Separator="-" />
<u:TagInput
Margin="20"
AllowDuplicates="False"
Separator="-" />
<ListBox ItemsSource="{Binding #labels.Tags}" />
</StackPanel>
</UserControl>