Answers for "page parent wpf"

C#
0

page parent wpf

private void Button_Click_Upload(object sender, RoutedEventArgs e)
{
    ((w)App.Current.MainWindow).textBox_1.Text = "Your Text";
    //or 
    ((w)Window.GetWindow(this)).textBox_1.Text = "Your Text";
}
Posted by: Guest on June-01-2020

C# Answers by Framework

Browse Popular Code Answers by Language