Update MainWindow.xaml

removed delay in binding
This commit is contained in:
theClueless 2019-12-30 01:28:10 +02:00 committed by GitHub
parent 4c2a09369d
commit 34342599b9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -56,7 +56,7 @@
<Border Style="{DynamicResource WindowBorderStyle}" MouseDown="OnMouseDown" >
<StackPanel Orientation="Vertical">
<TextBox Style="{DynamicResource QueryBoxStyle}"
Text="{Binding QueryText, Mode=TwoWay, Delay=100, UpdateSourceTrigger=PropertyChanged}"
Text="{Binding QueryText, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
PreviewDragOver="OnPreviewDragOver"
TextChanged="OnTextChanged"
AllowDrop="True"
@ -87,4 +87,4 @@
</ContentControl>
</StackPanel>
</Border>
</Window>
</Window>