Answer the question
In order to leave comments, you need to log in
Opening page in frame C#?
I created a frame form, in it a button in which the page that I created for frame should open.
Navigation is simple.
private void MainWindow_OnLoaded(object sender, RoutedEventArgs e)
{
if (Page1 == null)
Page1 = new Page1();
this.Frame.Navigate(Page1);
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question