Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion src/Wpf.Ui/Controls/AutoSuggestBox/AutoSuggestBox.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@
</Style>

<Style x:Key="DefaultUiAutoSuggestBoxStyle" TargetType="{x:Type controls:AutoSuggestBox}">
<Setter Property="Focusable" Value="False" /> <!-- ensure that the outer control is not focusable-->
<Setter Property="MaxSuggestionListHeight" Value="240" />
<Setter Property="HorizontalAlignment" Value="Stretch" />
<Setter Property="VerticalAlignment" Value="Center" />
Expand All @@ -116,9 +117,11 @@
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="{x:Type controls:AutoSuggestBox}">
<Grid>
<Grid >
<controls:TextBox
x:Name="PART_TextBox"
TabIndex="{TemplateBinding TabIndex}"
IsTabStop="{TemplateBinding IsTabStop}"
Grid.Row="0"
Icon="{TemplateBinding Icon}"
IconPlacement="Right"
Expand Down
Loading