User control on Start of Application RRS feed

  • Question

  • Is it possible to make a user control startup entity in App.xaml.

    I want a message dialogue kind of user control on starting application with buttons on it to login, and after login should navigate to nay other page?

    I tried setting UserControl as startup point but application crashed?

    Tuesday, November 5, 2013 8:14 AM


  • Why you don't want use page instead UC? 

    I see 2 ways:

    1. Create page and show your UserControl on it inside Popup.

    2. Instead UC in Popup create login page and track navigation in App.xaml.cs(if user is already logged in, just skip login page and navigate to other page).

    • Edited by Oleg Kurzov Tuesday, November 5, 2013 8:49 AM
    • Marked as answer by Panthera_uncia Friday, November 8, 2013 4:47 PM
    Tuesday, November 5, 2013 8:46 AM