locked
Blank screen when navigating pages using contentframe.navigate in wpf application RRS feed

  • Question

  • Blank screen can be seen when trying to download .xaml page, after few seconds page can be seen, Its requirement that we cant use splash screen while loading page

    below is part of code 

    mainwindow.xaml :- 

    <Grid Grid.Row="1" Grid.Column="1">
                <Border Background="{DynamicResource SC_ListView_Background}" Margin="3,48,3,3" CornerRadius="0,0,3,3">
                    <Frame Name="ContentFrame" NavigationUIVisibility="Hidden" Focusable="False" Margin="3" />
                </Border>
       </Grid>

    Mainwindow.xaml.cs:-

    ContentFrame.Navigate(new Uri("/Calculator.Installer;component/Pages/" + pageName, UriKind.Relative));

    we are using .net framework 4.7.2 , Is there a way we can analyse why this issue is happening?

    Thanks

    Roseline

    Wednesday, September 16, 2020 9:36 AM

All replies

  • Hi Roseline_1,

    Thank you for posting here.

    According to your description, you problem is more related to WPF, so I suggest you post your question in WPF(Q&A) forum for more efficient responses.

    Thank you for your understanding.

    Best Regards,

    Xingyu Zhao


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Thursday, September 17, 2020 1:28 AM