<!--
	Copyright (c) Microsoft. All rights reserved.
-->

<UserControl x:Class="MOX.ProgressUI"
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	VerticalAlignment="Stretch" HorizontalAlignment="Stretch">
	<Grid Background="{CustomResource :mso_brush:2968}">
		<Border BorderBrush="{CustomResource :mso_brush:2970}" BorderThickness="0,2" VerticalAlignment="Center">
			<Grid Background="{CustomResource :mso_brush:2972}">
				<Grid.RowDefinitions>
					<RowDefinition />
				</Grid.RowDefinitions>
				<Grid.ColumnDefinitions>
					<ColumnDefinition Width="1*" />
					<ColumnDefinition Width="2*" />
					<ColumnDefinition Width="1*" />
				</Grid.ColumnDefinitions>
				<Grid Grid.Row="0" Grid.Column="1">
					<Grid.RowDefinitions>
						<RowDefinition />
						<RowDefinition />
						<RowDefinition />
					</Grid.RowDefinitions>
					<Grid.ColumnDefinitions>
						<ColumnDefinition />
					</Grid.ColumnDefinitions>
					<TextBlock x:Name="lblTitle" Grid.Row="0" Grid.Column="0"
								 Style="{StaticResource MsoTextBlockSmallTitle}" Foreground="{CustomResource :mso_brush:2974}"
								 Margin="0,30,0,70"
								 TextWrapping="Wrap" Text="Some Title" HorizontalAlignment="Left" />
					<StackPanel Grid.Row="1" Grid.Column="0">
						<TextBlock x:Name="lblWork"
									 Style="{StaticResource MsoTextBlockStandard}" Foreground="{CustomResource :mso_brush:2974}"
									 TextWrapping="Wrap" Text="Some work text" HorizontalAlignment="Left" />
						<ProgressBar x:Name="pbWork"
									 Foreground="{CustomResource :mso_brush:2976}"
									 Margin="0,10,0,70" Height="30" IsIndeterminate="false" />
					</StackPanel>
					<Button x:Name="btnCancel" Grid.Row="2" Grid.Column="0"
									 Background="{CustomResource :mso_brush:2978}"
									 Foreground="{CustomResource :mso_brush:2980}"
									 Margin="0,0,0,30" HorizontalAlignment="Right" />
				</Grid>
			</Grid>
		</Border>
	</Grid>
</UserControl>
