Skip to content

Instantly share code, notes, and snippets.

@kw0006667
Created October 20, 2012 18:00
Show Gist options
  • Save kw0006667/3924216 to your computer and use it in GitHub Desktop.
Save kw0006667/3924216 to your computer and use it in GitHub Desktop.
在主頁面新增一個 Page Title
<Page
x:Class="HeaderMenu.MainPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="using:HeaderMenu"
xmlns:common="using:HeaderMenu.Common"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d">
<Grid Background="{StaticResource ApplicationPageBackgroundThemeBrush}">
<Grid.RowDefinitions>
<RowDefinition Height="140"/>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto"/>
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>
<Button x:Name="backButton" Grid.Column="0" Style="{StaticResource BackButtonStyle}"/>
<HyperlinkButton x:Name="pageTitle" Grid.Column="1" Content="Music ˅" FontSize="48" FontWeight="Normal" Margin="0,38,0,23" Click="pageTitle_Click_1" Foreground="#FF737375"/>
</Grid>
</Page>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment