You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
2.4 KiB
XML
37 lines
2.4 KiB
XML
<UserControl x:Class="XGL.UControl.UCRProgressBar"
|
|
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:XGL.UControl"
|
|
mc:Ignorable="d"
|
|
d:DesignHeight="40" d:DesignWidth="300">
|
|
<UserControl.Resources>
|
|
<ResourceDictionary>
|
|
<ResourceDictionary.MergedDictionaries>
|
|
<ResourceDictionary Source="/XGL;component/CSS/SearchBtnClass.xaml"/>
|
|
<ResourceDictionary Source="/XGL;component/CSS/SearchTextClass.xaml"/>
|
|
<ResourceDictionary Source="/XGL;component/CSS/DataGridClass.xaml"/>
|
|
<ResourceDictionary Source="/XGL;component/CSS/NormalSmlBtnClass.xaml"/>
|
|
<ResourceDictionary Source="/XGL;component/CSS/Style.xaml"/>
|
|
</ResourceDictionary.MergedDictionaries>
|
|
</ResourceDictionary>
|
|
</UserControl.Resources>
|
|
<Grid >
|
|
<ProgressBar x:Name="myProgressBar" HorizontalAlignment="Left" Height="40" VerticalAlignment="Top" Width="270" Style="{DynamicResource ProgressBarStyle}" Value="80" RenderTransformOrigin="0.5,0.5">
|
|
<ProgressBar.RenderTransform>
|
|
<TransformGroup>
|
|
<ScaleTransform/>
|
|
<SkewTransform/>
|
|
<RotateTransform Angle="180"/>
|
|
<TranslateTransform/>
|
|
</TransformGroup>
|
|
</ProgressBar.RenderTransform>
|
|
</ProgressBar>
|
|
<TextBlock x:Name="txtTotal" HorizontalAlignment="Left" VerticalAlignment="Center" Text="10" Width="30" TextAlignment="Center" Foreground="#48c4d7" Margin="270,0,0,0"/>
|
|
<TextBlock x:Name="txtProdDesc" HorizontalAlignment="Left" TextWrapping="Wrap" Text="TextBlock" VerticalAlignment="Center" Margin="90,12,0,12" Width="180" Foreground="White" TextAlignment="Right"/>
|
|
<TextBlock HorizontalAlignment="Left" Margin="30,0,0,0" TextWrapping="Wrap" Text="12" VerticalAlignment="Center" Width="18" TextAlignment="Center" Foreground="White"/>
|
|
<TextBlock x:Name="txtLeft" HorizontalAlignment="Left" Margin="5,0,0,0" TextWrapping="Wrap" Text="余量" VerticalAlignment="Center" Foreground="White"/>
|
|
</Grid>
|
|
</UserControl>
|