| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778 |
- <UserControl x:Class="OHV.Module.Interactivity.ConfirmationPopupView"
- 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:local="clr-namespace:OHV.Module.Interactivity"
- mc:Ignorable="d"
- d:DesignHeight="300" d:DesignWidth="600" Height="250" Width="450" Focusable="True"
- xmlns:prism="http://prismlibrary.com/"
- prism:ViewModelLocator.AutoWireViewModel="True"
- Background="Transparent"
- >
- <UserControl.Resources>
- <ResourceDictionary>
- <ResourceDictionary.MergedDictionaries>
- <ResourceDictionary Source="/GSG.NET.WPF;component/ControlResources/ButtonResources.xaml"/>
- <ResourceDictionary Source="/GSG.NET.WPF;component/ControlResources/WindowResources.xaml"/>
- </ResourceDictionary.MergedDictionaries>
- </ResourceDictionary>
- </UserControl.Resources>
- <prism:Dialog.WindowStyle>
- <Style TargetType="Window">
- <Setter Property="prism:Dialog.WindowStartupLocation" Value="CenterScreen" />
- <Setter Property="Background" Value="Transparent"/>
- <Setter Property="AllowsTransparency" Value="True"/>
- <Setter Property="ResizeMode" Value="NoResize"/>
- <Setter Property="WindowStyle" Value="None"/>
- <Setter Property="BorderThickness" Value="1"/>
- <Setter Property="BorderBrush" Value="{DynamicResource BorderSolidNormal}"/>
- <Setter Property="Template" Value="{DynamicResource WindowTemplateKey}"/>
- <!--<Style.Triggers>
- <Trigger Property="ResizeMode" Value="CanResizeWithGrip">
- <Setter Property="Template" Value="{StaticResource WindowTemplateKey}"/>
- </Trigger>
- </Style.Triggers>-->
- </Style>
- </prism:Dialog.WindowStyle>
- <Border Background="White" CornerRadius="20" BorderThickness="2" BorderBrush="#FF1368BD">
- <Grid>
- <Grid.RowDefinitions>
- <RowDefinition Height="*"/>
- <RowDefinition Height="*"/>
- <RowDefinition Height="60"/>
- </Grid.RowDefinitions>
- <Grid x:Name="gridHeader" Cursor="Hand" Background="Transparent" />
- <Canvas x:Name="iconWarning" Width="50" Height="50" IsHitTestVisible="False" Margin="0,30,0,15">
- <Ellipse Width="50" Height="50" Canvas.Left="0" Canvas.Top="0" Stretch="Fill" Fill="{DynamicResource MaterialDesignCardBackground}" Stroke="{DynamicResource PrimaryHueMidBrush}"/>
- <!--<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 "/>-->
- <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 "/>
- </Canvas>
- <ScrollViewer Margin="10,0,10,20" Grid.Row="1" HorizontalAlignment="Center" VerticalAlignment="Center" HorizontalScrollBarVisibility="Disabled" CanContentScroll="True">
- <TextBlock x:Name="tbMessage" TextWrapping="Wrap" FontSize="17" Foreground="#263238" Text="{Binding Message}"/>
- </ScrollViewer>
- <Rectangle Fill="#FFBABABA" Height="2" VerticalAlignment="Bottom" Margin="20,0" Grid.Row="1" Visibility="Hidden"/>
- <StackPanel Orientation="Horizontal" Grid.Row="2" HorizontalAlignment="Center" VerticalAlignment="Top" Margin="0,5,0,0">
- <<<<<<< HEAD
- <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"/>
- <!--Style="{DynamicResource btn_Send}"-->
- <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"/>
- =======
- <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}"/>
- <!--Style="{DynamicResource btn_Send}"-->
- <Button x:Name="btnCancel" HorizontalAlignment="Left" VerticalAlignment="Top" Width="100" Height="40" Content="취소" Command="{Binding CloseDialogCommand}" CommandParameter="false" Background="#263238" Style="{StaticResource MaterialDesignRaisedButton}"/>
- >>>>>>> 2ea40f87826eaf7a4af506e89f5319784ae6b661
- <!--Style="{DynamicResource btn_Close}"-->
- </StackPanel>
- </Grid>
- </Border>
- </UserControl>
|