<UserControl
    x:Class="Ursa.Demo.Pages.TagInputDemo"
    xmlns="https://github.com/avaloniaui"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:u="https://irihi.tech/ursa"
    xmlns:vm="using:Ursa.Demo.ViewModels"
    x:DataType="vm:TagInputDemoViewModel"
    x:CompileBindings="True"
    d:DesignHeight="450"
    d:DesignWidth="800"
    mc:Ignorable="d">
    <StackPanel>
        <u:TagInput
            Name="labels"
            Margin="20"
            AllowDuplicates="True"
            Separator="-"
            Tags="{Binding Tags}" />
        <u:TagInput
            Margin="20"
            AllowDuplicates="False"
            Separator="-"
            Tags="{Binding DistinctTags}" />
        <ListBox ItemsSource="{Binding DistinctTags}" />
    </StackPanel>
</UserControl>
