ConfirmationPopupView.xaml.orig 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. <UserControl x:Class="OHV.Module.Interactivity.ConfirmationPopupView"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6. xmlns:local="clr-namespace:OHV.Module.Interactivity"
  7. mc:Ignorable="d"
  8. d:DesignHeight="300" d:DesignWidth="600" Height="250" Width="450" Focusable="True"
  9. xmlns:prism="http://prismlibrary.com/"
  10. prism:ViewModelLocator.AutoWireViewModel="True"
  11. Background="Transparent"
  12. >
  13. <UserControl.Resources>
  14. <ResourceDictionary>
  15. <ResourceDictionary.MergedDictionaries>
  16. <ResourceDictionary Source="/GSG.NET.WPF;component/ControlResources/ButtonResources.xaml"/>
  17. <ResourceDictionary Source="/GSG.NET.WPF;component/ControlResources/WindowResources.xaml"/>
  18. </ResourceDictionary.MergedDictionaries>
  19. </ResourceDictionary>
  20. </UserControl.Resources>
  21. <prism:Dialog.WindowStyle>
  22. <Style TargetType="Window">
  23. <Setter Property="prism:Dialog.WindowStartupLocation" Value="CenterScreen" />
  24. <Setter Property="Background" Value="Transparent"/>
  25. <Setter Property="AllowsTransparency" Value="True"/>
  26. <Setter Property="ResizeMode" Value="NoResize"/>
  27. <Setter Property="WindowStyle" Value="None"/>
  28. <Setter Property="BorderThickness" Value="1"/>
  29. <Setter Property="BorderBrush" Value="{DynamicResource BorderSolidNormal}"/>
  30. <Setter Property="Template" Value="{DynamicResource WindowTemplateKey}"/>
  31. <!--<Style.Triggers>
  32. <Trigger Property="ResizeMode" Value="CanResizeWithGrip">
  33. <Setter Property="Template" Value="{StaticResource WindowTemplateKey}"/>
  34. </Trigger>
  35. </Style.Triggers>-->
  36. </Style>
  37. </prism:Dialog.WindowStyle>
  38. <Border Background="White" CornerRadius="20" BorderThickness="2" BorderBrush="#FF1368BD">
  39. <Grid>
  40. <Grid.RowDefinitions>
  41. <RowDefinition Height="*"/>
  42. <RowDefinition Height="*"/>
  43. <RowDefinition Height="60"/>
  44. </Grid.RowDefinitions>
  45. <Grid x:Name="gridHeader" Cursor="Hand" Background="Transparent" />
  46. <Canvas x:Name="iconWarning" Width="50" Height="50" IsHitTestVisible="False" Margin="0,30,0,15">
  47. <Ellipse Width="50" Height="50" Canvas.Left="0" Canvas.Top="0" Stretch="Fill" Fill="{DynamicResource MaterialDesignCardBackground}" Stroke="{DynamicResource PrimaryHueMidBrush}"/>
  48. <!--<Path Width="37.396" Height="37.06" Canvas.Left="10.606" Canvas.Top="12.94" Stretch="Fill" Fill="{DynamicResource MaterialDesignCardBackground}" Data="M 46,92C 64.9985,92 81.3071,80.4826 88.3242,64.049L 48.0854,23.8105L 19.5142,68.0538L 43.3875,91.9271C 44.2522,91.9755 45.1233,92 46,92 Z "/>-->
  49. <Path Width="29.146" Height="25.115" Canvas.Left="10.426" Canvas.Top="12.442" Stretch="Fill" Fill="{DynamicResource ValidationErrorBrush}" Data="M 49.6848,52.1437L 42.9006,52.1437L 42.9006,35.1833L 49.6848,35.1833L 49.6848,52.1437 Z M 49.7207,63.6432L 42.9365,63.6432L 42.9365,56.8591L 49.7207,56.8591L 49.7207,63.6432 Z M 72.1765,65.033L 48.7366,24.7703C 47.2461,22.1583 44.7681,22.3273 43.2776,24.9393L 19.8342,64.9651C 18.3105,67.5771 19.5659,69.1042 22.5505,69.1042L 69.4634,69.1042C 72.4482,69.1042 73.6672,67.6449 72.1765,65.033 Z "/>
  50. </Canvas>
  51. <ScrollViewer Margin="10,0,10,20" Grid.Row="1" HorizontalAlignment="Center" VerticalAlignment="Center" HorizontalScrollBarVisibility="Disabled" CanContentScroll="True">
  52. <TextBlock x:Name="tbMessage" TextWrapping="Wrap" FontSize="17" Foreground="#263238" Text="{Binding Message}"/>
  53. </ScrollViewer>
  54. <Rectangle Fill="#FFBABABA" Height="2" VerticalAlignment="Bottom" Margin="20,0" Grid.Row="1" Visibility="Hidden"/>
  55. <StackPanel Orientation="Horizontal" Grid.Row="2" HorizontalAlignment="Center" VerticalAlignment="Top" Margin="0,5,0,0">
  56. <<<<<<< HEAD
  57. <Button x:Name="btnSend" HorizontalAlignment="Left" VerticalAlignment="Top" Width="100" Margin="0,0,20,0" Height="50" Command="{Binding CloseDialogCommand}" CommandParameter="true" Content="O K" Background="{DynamicResource PrimaryHueMidBrush}" Style="{StaticResource MaterialDesignRaisedButton}" FontSize="20"/>
  58. <!--Style="{DynamicResource btn_Send}"-->
  59. <Button x:Name="btnCancel" HorizontalAlignment="Left" VerticalAlignment="Top" Width="100" Height="50" Content="Cancle" Command="{Binding CloseDialogCommand}" CommandParameter="false" Background="{DynamicResource PrimaryHueMidBrush}" Style="{StaticResource MaterialDesignRaisedButton}" FontSize="20"/>
  60. =======
  61. <Button x:Name="btnSend" HorizontalAlignment="Left" VerticalAlignment="Top" Width="100" Margin="0,0,20,0" Height="40" Command="{Binding CloseDialogCommand}" CommandParameter="true" Content="확인" Background="#263238" Style="{StaticResource MaterialDesignRaisedButton}"/>
  62. <!--Style="{DynamicResource btn_Send}"-->
  63. <Button x:Name="btnCancel" HorizontalAlignment="Left" VerticalAlignment="Top" Width="100" Height="40" Content="취소" Command="{Binding CloseDialogCommand}" CommandParameter="false" Background="#263238" Style="{StaticResource MaterialDesignRaisedButton}"/>
  64. >>>>>>> 2ea40f87826eaf7a4af506e89f5319784ae6b661
  65. <!--Style="{DynamicResource btn_Close}"-->
  66. </StackPanel>
  67. </Grid>
  68. </Border>
  69. </UserControl>