DeleteSafetySettingsDialog.xaml 1.9 KB

123456789101112131415161718192021222324252627282930313233
  1. <UserControl x:Class="PDF_Master.Views.Dialog.ToolsDialogs.SaftyDialogs.DeleteSafetySettingsDialog"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:prism="http://prismlibrary.com/"
  5. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:saftydialogs="clr-namespace:PDF_Master.ViewModels.Dialog.ToolsDialogs.SaftyDialogs" d:DataContext="{d:DesignInstance Type=saftydialogs:DeleteSafetySettingsDialogViewModel}"
  7. prism:ViewModelLocator.AutoWireViewModel="True"
  8. prism:Dialog.WindowStyle="{StaticResource DialogWindowStyle}"
  9. MinHeight="156"
  10. Width="392"
  11. mc:Ignorable="d"
  12. Background="#FFFFFF">
  13. <Grid>
  14. <Grid.RowDefinitions>
  15. <RowDefinition Name="HeadRow" MinHeight="88" />
  16. <RowDefinition Height="48"/>
  17. </Grid.RowDefinitions>
  18. <TextBlock Grid.Row="0" Text="{Binding DeleteSecurityMsg, Mode=TwoWay}" TextWrapping="Wrap" FontSize="14" Margin="16,32,16,32" Block.TextAlignment="Left" FontFamily="Segoe UI"/>
  19. <StackPanel Grid.Row="1" Orientation="Horizontal" HorizontalAlignment="Right" >
  20. <Button Style="{StaticResource Btn.cta}" Width="80" Height="32" Margin="0,0,16,16" Command="{Binding RemoveSecuritySettingsCommand}">
  21. <Border>
  22. <TextBlock Text="{Binding T_YES}" ></TextBlock>
  23. </Border>
  24. </Button>
  25. <Button Style="{StaticResource btn.ghost}" Width="80" Height="32" Margin="0,0,16,16" Command="{Binding CancelCommand}">
  26. <Border>
  27. <TextBlock Text="{Binding T_No}" ></TextBlock>
  28. </Border>
  29. </Button>
  30. </StackPanel>
  31. </Grid>
  32. </UserControl>