提交 80bd93fb 编写于 作者: D David Poeschl

Update databindings immediately instead of on focus lost

上级 63f23e38
......@@ -59,7 +59,7 @@
<TextBox x:Name="NameContentControl"
Grid.Row="4"
Margin="0,5,0,5"
Text="{Binding ParameterName, Mode=TwoWay}"
Text="{Binding ParameterName, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
AutomationProperties.LabeledBy="{Binding ElementName=ParameterNameLabelName}"/>
<Label x:Name="ParameterKindLabelName" Grid.Row="5" Content="{Binding ElementName=dialog, Path=ParameterKind}" />
<RadioButton x:Name="RequiredParameterRadioButton"
......@@ -101,7 +101,7 @@
Grid.Row="0"
Margin="5,0,0,0"
IsEnabled="{Binding IsChecked, ElementName=CallsiteValueRadioButton}"
Text="{Binding CallSiteValue, Mode=TwoWay}"></TextBox>
Text="{Binding CallSiteValue, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"></TextBox>
<CheckBox x:Name="UseNamedArgumentButton"
Grid.Row="1"
Grid.ColumnSpan="2"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册