Created
December 3, 2012 17:51
-
-
Save kw0006667/4196702 to your computer and use it in GitHub Desktop.
在主頁面的「OnNavigatedTo 函式中,接收從 App.xaml.cs 傳進來的字串
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// <summary> | |
/// 在此頁面即將顯示在框架中時叫用。 | |
/// </summary> | |
/// <param name="e">描述如何到達此頁面的事件資料。Parameter | |
/// 屬性通常用來設定頁面。</param> | |
protected override void OnNavigatedTo(NavigationEventArgs e) | |
{ | |
this.SearchInput.Text = e.Parameter.ToString(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment