123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869 |
- <Window x:Class="XHWK.WKTool.FileDirectoryWindow"
- 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"
- xmlns:local="clr-namespace:XHWK.WKTool"
- mc:Ignorable="d"
- Title="FileDirectoryWindow" Height="729" Width="1030" AllowsTransparency="True"
- ShowInTaskbar="False"
- WindowStartupLocation="CenterOwner"
- WindowStyle="None">
- <Viewbox>
- <Grid Height="729" Width="1030" >
- <!--分4行-->
- <Grid.RowDefinitions>
- <RowDefinition Height="45"/>
- <RowDefinition Height="*"/>
- <RowDefinition Height="80"/>
- </Grid.RowDefinitions>
- <!--第一行 标题-->
- <Border Grid.Row="0" Background="#2D8CF0">
- <Grid MouseLeftButtonDown="Window_MouseLeftButtonDown">
- <TextBlock Text="文件目录" Foreground="#FFFFFF" FontSize="16" Padding="10,13,0,0"/>
- <Button Cursor="Hand" Grid.Row="0" x:Name="btnDown" Content="×" Foreground="#FFFFFF" FontSize="25" Padding="10,0,10,0" HorizontalAlignment="Right" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Click="btnDown_Click"/>
- </Grid>
- </Border>
- <!--第二行 内容-->
- <Grid>
-
- </Grid>
- <!--第三行 删除 上传 按钮-->
- <StackPanel Grid.Row="3" Orientation="Horizontal" HorizontalAlignment="Center">
- <Button Cursor="Hand" x:Name="btnDelete" Content="删除" FontSize="18" Foreground="#FFFFFF" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Width="115" Height="45" Margin="0,0,30,0">
- <Button.Template>
- <ControlTemplate TargetType="{x:Type Button}">
- <Border
- BorderBrush="{TemplateBinding Control.BorderBrush}"
- BorderThickness="1"
- CornerRadius="2">
- <Border.Background>#F0582B</Border.Background>
- <ContentPresenter
- HorizontalAlignment="Center"
- VerticalAlignment="Center"
- Content="{TemplateBinding ContentControl.Content}" />
- </Border>
- </ControlTemplate>
- </Button.Template>
- </Button>
- <Button Cursor="Hand" x:Name="btnUpload" Content="上传" FontSize="18" Foreground="#FFFFFF" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Width="115" Height="45" Margin="30,0,0,0">
- <Button.Template>
- <ControlTemplate TargetType="{x:Type Button}">
- <Border
- BorderBrush="{TemplateBinding Control.BorderBrush}"
- BorderThickness="1"
- CornerRadius="2">
- <Border.Background>#2D8CF0</Border.Background>
- <ContentPresenter
- HorizontalAlignment="Center"
- VerticalAlignment="Center"
- Content="{TemplateBinding ContentControl.Content}" />
- </Border>
- </ControlTemplate>
- </Button.Template>
- </Button>
- </StackPanel>
-
- </Grid>
- </Viewbox>
- </Window>
|