原创 Windows Phone TextBlock

<Grid x:Name="ContentPanel" Grid.Row="1" Margin="12,0,12,0"> <StackPanel> <TextBlock Text

原创 Windows Phone run標籤

<Grid x:Name="ContentPanel" Grid.Row="1" Margin="12,0,12,0"> <!--這裏是用run元素來進行對於一個textblock中的文字來設置不同的格式-->

原创 Windows Phone 嵌套佈局

<StackPanel> <TextBlock Text="天津大學學生信息" Margin="0,-2,0,20" HorizontalAlignment="Center" FontSize="55"/>

原创 Windows Phone 數據的保存和恢復

// 應用程序啓動(例如,從“開始”菜單啓動)時執行的代碼 // 此代碼在重新激活應用程序時不執行 private void Application_Launching(object sender, La

原创 Windows Phone stackpane

<Grid.RowDefinitions> <RowDefinition Height="*"/> <RowDefinition Height="*"/>

原创 Windows Phone 創建磁貼

<Grid x:Name="ContentPanel" Grid.Row="1" Margin="12,0,12,0"> <Grid.RowDefinitions> <RowDefi

原创 Windows Phone 多個按鈕同一個監聽事件

<Grid x:Name="ContentPanel" Grid.Row="1" Margin="12,0,12,0"> <Grid.RowDefinitions> <RowDef

原创 Windows Phone 綁定滑動的控件的值來進行相應的設置

<Grid x:Name="ContentPanel" Grid.Row="1" Margin="12,0,12,0"> <Grid.RowDefinitions> <RowD

原创 Windows Phone 選擇按鈕並且知道你選了什麼

<Grid x:Name="ContentPanel" Grid.Row="1" Margin="12,0,12,0"> <Grid.RowDefinitions> <RowDe

原创 Windows Phone 設置畫刷

<Grid x:Name="ContentPanel" Grid.Row="1" Margin="12,0,12,0"> <Grid.RowDefinitions> <RowDefi

原创 Windows Phone 圖片控件

<Grid x:Name="ContentPanel" Grid.Row="1" Margin="12,0,12,0"> <Grid.RowDefinitions> <RowDef

原创 Windows Phone 事件處理

<Grid x:Name="ContentPanel" Grid.Row="1" Margin="12,0,12,0"> <StackPanel> <TextBlock x:Name

原创 Windows Phone 修改磁貼

{ ShellTile myTitle = ShellTile.ActiveTiles.FirstOrDefault(m => m.NavigationUri.ToString().Contains

原创 Windows Phone 進度條設置

<Grid x:Name="ContentPanel" Grid.Row="1" Margin="12,0,12,0"> <StackPanel> <TextBlock FontS

原创 Windows Phone 機器的信息

<Grid x:Name="ContentPanel" Grid.Row="1" Margin="12,0,12,0"> <Button Content="信息" Click="Button_Click" />