wabbajack/Wabbajack.App.Wpf/Views/Common/CpuLineView.xaml

36 lines
1.4 KiB
Plaintext
Raw Normal View History

2021-12-26 21:56:44 +00:00
<rxui:ReactiveUserControl
x:Class="Wabbajack.CpuLineView"
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:local="clr-namespace:Wabbajack"
xmlns:mahapps="clr-namespace:MahApps.Metro.Controls;assembly=MahApps.Metro"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:rxui="http://reactiveui.net"
d:DesignHeight="65"
d:DesignWidth="400"
x:TypeArguments="local:CPUDisplayVM"
mc:Ignorable="d">
<Grid Background="{StaticResource WindowBackgroundBrush}">
<mahapps:MetroProgressBar
x:Name="BackgroundProgressBar"
Background="Transparent"
BorderThickness="0"
Foreground="{StaticResource DarkPrimaryVariantBrush}"
Maximum="1" />
<Grid Height="1" VerticalAlignment="Bottom">
<mahapps:MetroProgressBar
x:Name="ThinProgressBar"
Background="Transparent"
BorderThickness="0"
Foreground="{StaticResource DarkSecondaryBrush}"
Maximum="1" />
</Grid>
<TextBlock
x:Name="Text"
Margin="0,0,0,2"
TextTrimming="CharacterEllipsis"
TextWrapping="NoWrap" />
</Grid>
</rxui:ReactiveUserControl>