64 lines
3.7 KiB
XML
64 lines
3.7 KiB
XML
<local:MyPageLeft x:Class="PCL.PageSpeedLeft"
|
|||
|
|
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:local="clr-namespace:PCL"
|
||
|
|
mc:Ignorable="d"
|
||
|
|
d:DesignHeight="450" Width="200" HorizontalAlignment="Left">
|
||
|
|
<Grid.Resources>
|
||
|
|
<ResourceDictionary>
|
||
|
|
<Style TargetType="TextBlock" x:Key="Split">
|
||
|
|
<Setter Property="UseLayoutRounding" Value="True" />
|
||
|
|
<Setter Property="SnapsToDevicePixels" Value="True" />
|
||
|
|
<Setter Property="Height" Value="2" />
|
||
|
|
<Setter Property="Margin" Value="25,7" />
|
||
|
|
<Setter Property="Background">
|
||
|
|
<Setter.Value>
|
||
|
|
<LinearGradientBrush EndPoint="1,0.5" StartPoint="0,0.5">
|
||
|
|
<GradientStop Color="{DynamicResource ColorObjectBg1}" Offset="0" />
|
||
|
|
<GradientStop Color="{DynamicResource ColorObject3}" Offset="0.02" />
|
||
|
|
<GradientStop Color="{DynamicResource ColorObject3}" Offset="0.98" />
|
||
|
|
<GradientStop Color="{DynamicResource ColorObjectBg1}" Offset="1" />
|
||
|
|
</LinearGradientBrush>
|
||
|
|
</Setter.Value>
|
||
|
|
</Setter>
|
||
|
|
</Style>
|
||
|
|
</ResourceDictionary>
|
||
|
|
</Grid.Resources>
|
||
|
|
<Grid.RowDefinitions>
|
||
|
|
<RowDefinition Height="1*" />
|
||
|
|
<RowDefinition Height="Auto" />
|
||
|
|
<RowDefinition Height="Auto" />
|
||
|
|
<RowDefinition Height="Auto" />
|
||
|
|
<RowDefinition Height="0.6*" />
|
||
|
|
<RowDefinition Height="Auto" />
|
||
|
|
<RowDefinition Height="Auto" />
|
||
|
|
<RowDefinition Height="Auto" />
|
||
|
|
<RowDefinition Height="0.6*" />
|
||
|
|
<RowDefinition Height="Auto" />
|
||
|
|
<RowDefinition Height="Auto" />
|
||
|
|
<RowDefinition Height="Auto" />
|
||
|
|
<RowDefinition Height="0.6*" />
|
||
|
|
<RowDefinition Height="Auto" />
|
||
|
|
<RowDefinition Height="Auto" />
|
||
|
|
<RowDefinition Height="Auto" />
|
||
|
|
<RowDefinition Height="1*" />
|
||
|
|
</Grid.RowDefinitions>
|
||
|
|
<TextBlock Text="{DynamicResource Speed.Progress.Total}" Grid.Row="1" HorizontalAlignment="Center" FontSize="14"
|
||
|
|
Foreground="{DynamicResource ColorBrush3}" />
|
||
|
|
<TextBlock Grid.Row="2" Style="{DynamicResource Split}" />
|
||
|
|
<TextBlock Text="00.00 %" Grid.Row="3" Name="LabProgress" HorizontalAlignment="Center" FontSize="20" />
|
||
|
|
<TextBlock Text="{DynamicResource Speed.Progress.Speed}" Grid.Row="5" HorizontalAlignment="Center" FontSize="14"
|
||
|
|
Foreground="{DynamicResource ColorBrush3}" />
|
||
|
|
<TextBlock Grid.Row="6" Style="{DynamicResource Split}" />
|
||
|
|
<TextBlock Text="0 B/s" Grid.Row="7" Name="LabSpeed" HorizontalAlignment="Center" FontSize="20" />
|
||
|
|
<TextBlock Text="{DynamicResource Speed.Progress.RemainingFiles}" Grid.Row="9" HorizontalAlignment="Center"
|
||
|
|
FontSize="14" Foreground="{DynamicResource ColorBrush3}" />
|
||
|
|
<TextBlock Grid.Row="10" Style="{DynamicResource Split}" />
|
||
|
|
<TextBlock Text="123456789" Grid.Row="11" Name="LabFile" HorizontalAlignment="Center" FontSize="20" />
|
||
|
|
<TextBlock Text="{DynamicResource Speed.Progress.RemainingThreads}" Grid.Row="13" HorizontalAlignment="Center"
|
||
|
|
FontSize="14" Foreground="{DynamicResource ColorBrush3}" />
|
||
|
|
<TextBlock Grid.Row="14" Style="{DynamicResource Split}" />
|
||
|
|
<TextBlock Text="123456789" Grid.Row="15" Name="LabThread" HorizontalAlignment="Center" FontSize="20" />
|
||
|
|
</local:MyPageLeft>
|