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

View File

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