Verzögerung im Binding mit BINDING-DELAY

 

 

MainWindow.xaml:

<Window x:Class="DelayEigenschaft.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:local="clr-namespace:DelayEigenschaft"
mc:Ignorable="d"
Title="MainWindow" Height="350" Width="525">
<Grid>
<StackPanel>
<TextBlock x:Name="tbEingabeSpiegel" />
<TextBox Text="{Binding ElementName=tbEingabeSpiegel, Path=Text, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged, Delay=7000}" />
</StackPanel>
</Grid>
</Window>

Top