fix: AutoCompleteBox VerticalAlignment.

This commit is contained in:
Zhang Dian
2024-03-11 23:29:53 +08:00
parent 4d14c846b0
commit bf1a2cac39
2 changed files with 42 additions and 52 deletions

View File

@@ -9,6 +9,7 @@
</StackPanel>
</Design.PreviewWith>
<ControlTheme x:Key="{x:Type AutoCompleteBox}" TargetType="AutoCompleteBox">
<Setter Property="AutoCompleteBox.VerticalAlignment" Value="Center" />
<Setter Property="AutoCompleteBox.MaxDropDownHeight" Value="{DynamicResource AutoCompleteMaxDropdownHeight}" />
<Setter Property="Template">
<ControlTemplate TargetType="AutoCompleteBox">