feat: class input control.

This commit is contained in:
rabbitism
2024-01-31 00:54:13 +08:00
parent 9ea537f7eb
commit 1dc37c0b86
10 changed files with 202 additions and 1 deletions

View File

@@ -0,0 +1,14 @@
<ResourceDictionary
xmlns="https://github.com/avaloniaui"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:u="https://irihi.tech/ursa">
<!-- Add Resources Here -->
<ControlTheme x:Key="{x:Type u:ControlClassesInput}" TargetType="u:ControlClassesInput">
<Setter Property="Width" Value="200" />
<Setter Property="Template">
<ControlTemplate TargetType="u:ControlClassesInput">
<u:TagInput HorizontalAlignment="Stretch" Tags="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=TargetClasses, Mode=TwoWay}" />
</ControlTemplate>
</Setter>
</ControlTheme>
</ResourceDictionary>