Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

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";
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #page #parent #wpf
ADD COMMENT
Topic
Name
5+6 =