aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/PPC/Modules/Tango.PPC.JobsV2/Dialogs/AddSegmentWarningDialog.xaml
blob: 09b5e918faaa074b8e9dc5093c4f8b8cd6f30c27 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<UserControl x:Class="Tango.PPC.Jobs.Dialogs.AddSegmentWarningDialog"
             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:touch="clr-namespace:Tango.Touch.Controls;assembly=Tango.Touch"
             xmlns:local="clr-namespace:Tango.PPC.Jobs.Dialogs"
             mc:Ignorable="d" 
             Background="Transparent"  d:DesignHeight="630" d:DesignWidth="560" Width="480" Height="250" 
             d:DataContext="{d:DesignInstance Type=local:AddSegmentWarningDialogVM, IsDesignTimeCreatable=False}">
    <Border BorderBrush="{StaticResource TangoMidAccentBrush}" Margin="-24" CornerRadius="40" BorderThickness="2" Background="{StaticResource TangoPrimaryBackgroundBrush}">

        <Grid>
            <Grid.RowDefinitions>
                <RowDefinition Height="Auto"/>
                <RowDefinition Height="Auto"/>
                <RowDefinition Height="1*"/>
            </Grid.RowDefinitions>

            <DockPanel  VerticalAlignment="Top" Margin="0 16 18 18" Grid.Row="0">
                <touch:TouchIconButton DockPanel.Dock="Right" VerticalAlignment="Center"  Height="46" Command="{Binding CloseCommand}"  Icon="CloseCircleOutline" RippleBrush="{StaticResource TangoRippleDarkBrush}" Foreground="{StaticResource TangoDarkForegroundBrush}" HorizontalAlignment="Right" />
            </DockPanel>

            <TextBlock Grid.Row="1"  Height="Auto" Margin="50 20 50 10" FontSize="{StaticResource TangoMessageBoxButtonFontSize}"  FontWeight="SemiBold" HorizontalAlignment="Center" TextWrapping="Wrap">Please note that gradient segment is now split into two gradients</TextBlock>

            <touch:TouchCheckBox VerticalAlignment="Bottom" Grid.Row="2" Margin="50 10 0 40" FontSize="{StaticResource TangoMessageBoxButtonFontSize}" IsChecked="{Binding NotShow}" >Do not show again</touch:TouchCheckBox>

        </Grid>
        </Border>
</UserControl>