layouts/framework/FrameFileTree.xaml

(完整代码) 1KB

<UserControl x:Class="tablegen2.layouts.FrameFileTree"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:el="clr-namespace:tablegen2.layouts"
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="300">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="35"/>
            <RowDefinition Height="*"/>
        </Grid.RowDefinitions>

        <Border Grid.Row="0" BorderThickness="1" BorderBrush="Gray" 
                CornerRadius="5,5,0,0" Margin="2,2,2,0" 
                Background="#80FFFFFF">
            <Grid>
                <TextBlock x:Name="txtPath" Text=""
                       VerticalAlignment="Center" HorizontalAlignment="Left" 
                       Margin="5,0,40,0" TextWrapping="Wrap" Foreground="Gray"
                       FontSize="10"/>
                <el:ButtonLight x:Name="btnAddExcel" Width="24" Height="24" Content="+" FontSize="20"
                                VerticalAlignment="Center" HorizontalAlignment="Right"
                                Margin="0,2,5,2" ToolTip="新建配置表" Click="btnAddExcel_Clicked"/>
            </Grid>
        </Border>
        <Border Grid.Row="1" BorderThickness="1,0,1,1" BorderBrush="Gray"
                CornerRadius="0,0,5,5" Margin="2,0,2,2" Background="#10FFFFFF">
            <el:TreeListView x:Name="lv"/>
        </Border>

        <Border x:Name="layer" Background="#80000000" Margin="2,1,1.687,2.687" CornerRadius="5" Grid.RowSpan="2">
            <el:ButtonDark x:Name="btnOpenExcel" Width="150" Height="40" Content="打开Excel配置目录..." 
                           Margin="0,0,0,0" Opacity="0.8" Click="btnOpenExcel_Clicked"/>
        </Border>
    </Grid>
</UserControl>

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

AI 解读 AI

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

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