MessageBox.xaml (2894B)
1 <UserControl 2 x:Class="File360.MessageBox" 3 xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 4 xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 5 xmlns:local="using:File360" 6 xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 7 xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 8 mc:Ignorable="d"> 9 10 <Grid x:Name="AlphaGrid"> 11 <Grid.Background> 12 <SolidColorBrush Color="#19000000"/> 13 </Grid.Background> 14 <StackPanel x:Name="LayoutRoot" 15 MinHeight="100" 16 MaxHeight="200" 17 MinWidth="300" 18 MaxWidth="450" 19 Background="{StaticResource PhoneChromeBrush}" 20 HorizontalAlignment="Center" 21 VerticalAlignment="Center"> 22 <Grid> 23 <Grid.RowDefinitions> 24 <RowDefinition Height="2*"/> 25 <RowDefinition Height="50*"/> 26 <RowDefinition Height="2*"/> 27 </Grid.RowDefinitions> 28 <Grid.ColumnDefinitions> 29 <ColumnDefinition Width="2*"/> 30 <ColumnDefinition Width="50*"/> 31 <ColumnDefinition Width="2*"/> 32 </Grid.ColumnDefinitions> 33 <StackPanel Grid.Row="1" Grid.Column="1" Margin="10,0"> 34 <TextBlock x:Name="heading" Foreground="{StaticResource PhoneForegroundBrush}" Text="ARE YOU SURE?" FontFamily="Segoe UI" FontSize="20" FontWeight="Bold" HorizontalAlignment="Left"/> 35 <Rectangle MinHeight="10"/> 36 <TextBlock x:Name="dialogDetails" Grid.Row="1" TextWrapping="Wrap" Text="Random Text and Messages Detailed about this operation comes here." FontFamily="Segoe WP Light" TextAlignment="Center" FontSize="20"/> 37 <Rectangle MinHeight="15"/> 38 </StackPanel> 39 </Grid> 40 <Grid> 41 <Grid.ColumnDefinitions> 42 <ColumnDefinition Width="4*"/> 43 <ColumnDefinition Width="10*"/> 44 </Grid.ColumnDefinitions> 45 <Button MinWidth="0" x:Name="leftButton" Style="{StaticResource DialogBoxButton}" Content="<" FontFamily="Assets/Font/iconfont.ttf#iconfont" Click="leftButton_Click" Margin="0" VerticalAlignment="Stretch" BorderBrush="{x:Null}" Background="{ThemeResource PhoneBackgroundBrush}" HorizontalAlignment="Stretch"/> 46 <Button x:Name="rightButton" Grid.Column="1" Background="{StaticResource PhoneAccentBrush}" BorderBrush="{x:Null}" HorizontalAlignment="Stretch" Click="rightButton_Click" Style="{StaticResource DialogBoxButton}" Content="K" FontFamily="Assets/Font/iconfont.ttf#iconfont" Foreground="White"/> 47 </Grid> 48 </StackPanel> 49 </Grid> 50 </UserControl>