44 lines
1.8 KiB
XML
44 lines
1.8 KiB
XML
<base:BaseView x:Class="DTS.StatusAndProgressBar.StatusAndProgressFooterView"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:base="clr-namespace:DTS.Common.Base;assembly=DTS.Common"
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
mc:Ignorable="d" d:DesignWidth="800">
|
|
<base:BaseView.Resources>
|
|
<ResourceDictionary>
|
|
<ResourceDictionary.MergedDictionaries>
|
|
<ResourceDictionary Source="pack://application:,,,/DTS.Common;component/Themes/CommonStyles.xaml"/>
|
|
</ResourceDictionary.MergedDictionaries>
|
|
</ResourceDictionary>
|
|
</base:BaseView.Resources>
|
|
<Grid HorizontalAlignment="Stretch" >
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="1*" />
|
|
<ColumnDefinition Width="3*" />
|
|
</Grid.ColumnDefinitions>
|
|
<ProgressBar
|
|
Margin="0"
|
|
Grid.Column="0"
|
|
Height="3"
|
|
Background="White"
|
|
VerticalAlignment="Center"
|
|
HorizontalContentAlignment="Stretch"
|
|
Value="{Binding ProgressBarValue,FallbackValue=55}"
|
|
Visibility="{Binding ProgressBarVisiblity}"
|
|
/>
|
|
<TextBlock
|
|
FontFamily="Segoe UI"
|
|
FontSize="12"
|
|
Height="25"
|
|
Grid.Column="1"
|
|
Foreground="White"
|
|
Text="{Binding ProgressText, FallbackValue=Connecting}"
|
|
HorizontalAlignment="Center"
|
|
Margin="0"
|
|
Padding="5,0"
|
|
/>
|
|
</Grid>
|
|
</base:BaseView>
|
|
|