Cookie Consent by Free Privacy Policy Generator Polipone
<aprile 2026>
lunmarmergiovensabdom
303112345
6789101112
13141516171819
20212223242526
27282930123
45678910

CHIUDERE UN'APP (WINDOWS PHONE)

Application.Current.Exit();

 

NAVIGARE VERSO UN'ALTRA FINESTRA

this.Frame.Navigate(typeof(myPage));

 

PASSAGGIO DI PARAMETRI AD UN'ALTRA FINESTRA

// let's assume that you have a simple class:
public class PassedData
{
  
public string Name { get; set; }
  
public int Value { get; set; }
}

// then you navigate like this:
Frame.Navigate(typeof(Page1), new PassedData { Name = "my name", Value = 10 });

// and in target Page you retrive the information:
protected override void OnNavigatedTo(NavigationEventArgs e)
{
   
PassedData data = e.Parameter as PassedData;
}

 

Tutor On-Line
Ciao, sono il tuo Tutor on-line. Come posso aiutarti? 10:04

Notifiche