コード例 #1
0
    private void TextBox_GotFocus(object sender, RoutedEventArgs e)
    {
        var bindingExpression = Text1.GetBindingExpression(TextBox.TextProperty);

        bindingExpression.UpdateSource();
    }