|
<Page x:Class="SchoolSample.Home"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
Title="Home"
d:DesignHeight="480"
d:DesignWidth="640"
Style="{StaticResource PageStyle}"
mc:Ignorable="d">
<Grid x:Name="LayoutRoot">
<ScrollViewer x:Name="PageScrollViewer" Style="{StaticResource PageScrollViewerStyle}">
<StackPanel x:Name="ContentStackPanel" Style="{StaticResource ContentStackPanelStyle}">
<TextBlock x:Name="HeaderText"
Style="{StaticResource HeaderTextStyle}"
Text="{Binding Path=Strings.HomePageTitle,
Source={StaticResource ApplicationResources}}" />
<ComboBox x:Name="CultureSelection"
SelectionChanged="ComboBox_SelectionChanged"
Style="{StaticResource ComboBoxStyle}">
<ComboBoxItem>English</ComboBoxItem>
<ComboBoxItem>中文(简体)</ComboBoxItem>
<ComboBoxItem>中文(繁體)</ComboBoxItem>
</ComboBox>
</StackPanel>
</ScrollViewer>
</Grid>
</Page>
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
Weidong has been an information system professional since 1990. He has a Master's degree in Computer Science, and is currently a MCSD .NET