public LoginPage() { InitializeComponent(); DT = (MainView)DataContext; DT.LoginM.Id = Mill.GetXaml(); if (DT.LoginM.Id == "") { Username.Focus(); } else { Passwords.Focus(); } }