bin/Debug/AppX/WordBook.xaml

(完整代码) 2KB

<Page
    x:Class="SimpleDictionary.WordBook"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:SimpleDictionary"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d">

    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="100"></RowDefinition>
            <RowDefinition Height="*"></RowDefinition>
        </Grid.RowDefinitions>
        <StackPanel Orientation="Horizontal">
            <TextBlock Margin="0,0,100,0" VerticalAlignment="Center" Foreground="Green" FontSize="60">
                生词本
            </TextBlock>
            <!--添加播放按钮-->
            <Button x:ConnectionId='2' FontSize="35" Content="播放" x:Name="PlayWord"                          VerticalAlignment="Center" ></Button>
            <TextBlock x:Name="txtMsg" Text="没有单词" VerticalAlignment="Center" FontSize="30" Margin="80,0,0,0"></TextBlock>
            
        </StackPanel>
        <ListView Grid.Row="1" x:Name="lvWordBook" SelectionMode="None">
            <ListView.ItemTemplate>
                <DataTemplate>
                    <StackPanel>
                    <StackPanel Orientation="Horizontal">
                        <!--添加删除按钮-->
                        <Button x:ConnectionId='1' x:Name="BtnDelete"                           VerticalAlignment="Top" Content="删除" FontSize="30"/>
                    </StackPanel>
                        <TextBlock Margin="10" Foreground="Black" Text="{Binding Time}" FontSize="25"/>
                        <TextBlock Margin="10" Foreground="Black" Text="{Binding Key}" FontSize="45"/>
                        <TextBlock Margin="10" Foreground="Black" Text="{Binding Ps}" FontSize="25"/>
                        <TextBlock Margin="10" Foreground="Black" Text="{Binding Acceptation}" FontSize="25" TextWrapping="Wrap" MaxWidth="1000"/>   
                    </StackPanel>
                </DataTemplate>
            </ListView.ItemTemplate>
        </ListView>
    </Grid>
  
</Page>

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。