<Window x:Class="XFEToolBox.Client.Installer.Views.Windows.PopupWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:controls="clr-namespace:XFEToolBox.WpfCore.Controls;assembly=XFEToolBox.WpfCore"
xmlns:viewmodel="clr-namespace:XFEToolBox.Client.Installer.ViewModel.Windows"
mc:Ignorable="d"
d:DataContext="{d:DesignInstance Type=viewmodel:PopupWindowViewModel}"
Title="{Binding PopupTitle}" ShowInTaskbar="False" Width="360" Height="250"
ResizeMode="NoResize" Background="Transparent" WindowStyle="None"
AllowsTransparency="True" WindowStartupLocation="CenterOwner">
<Border Margin="12">
<Border.Effect>
<DropShadowEffect Color="#353552" BlurRadius="24" ShadowDepth="6" Opacity="0.3"/>
</Border.Effect>
<controls:RoundedClipBorder CornerRadius="19" Background="{DynamicResource MainColor}">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="25"/>
<RowDefinition Height="48"/>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<controls:WindowCaptionBar Margin="20,0,0,0" AllowMaximize="False"
MinimizeButtonVisibility="Collapsed"
DragHandleVisibility="{Binding MoveButtonVisibility}"
CloseButtonVisibility="{Binding CloseButtonVisibility}"
CloseRequested="CaptionBar_CloseRequested"/>
<TextBlock Grid.Row="1" Margin="22,0,52,8" Text="{Binding PopupTitle}"
Foreground="White" FontSize="15" FontWeight="Bold"
VerticalAlignment="Center" TextTrimming="CharacterEllipsis"/>
<controls:RoundedClipBorder Grid.Row="2" CornerRadius="0,0,19,19"
Background="{DynamicResource ToolSurfaceBrush}">
<Frame Content="{Binding Content}" NavigationUIVisibility="Hidden"
Background="Transparent" Margin="18,12,18,18"/>
</controls:RoundedClipBorder>
</Grid>
</controls:RoundedClipBorder>
</Border>
</Window>
<Window x:Class="XFEToolBox.Client.Installer.Views.Windows.PopupWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:controls="clr-namespace:XFEToolBox.WpfCore.Controls;assembly=XFEToolBox.WpfCore"
xmlns:viewmodel="clr-namespace:XFEToolBox.Client.Installer.ViewModel.Windows"
mc:Ignorable="d"
d:DataContext="{d:DesignInstance Type=viewmodel:PopupWindowViewModel}"
Title="{Binding PopupTitle}" ShowInTaskbar="False" Width="360" Height="250"
ResizeMode="NoResize" Background="Transparent" WindowStyle="None"
AllowsTransparency="True" WindowStartupLocation="CenterOwner">
<Border Margin="12">
<Border.Effect>
<DropShadowEffect Color="#353552" BlurRadius="24" ShadowDepth="6" Opacity="0.3"/>
</Border.Effect>
<controls:RoundedClipBorder CornerRadius="19" Background="{DynamicResource MainColor}">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="25"/>
<RowDefinition Height="48"/>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<controls:WindowCaptionBar Margin="20,0,0,0" AllowMaximize="False"
MinimizeButtonVisibility="Collapsed"
DragHandleVisibility="{Binding MoveButtonVisibility}"
CloseButtonVisibility="{Binding CloseButtonVisibility}"
CloseRequested="CaptionBar_CloseRequested"/>
<TextBlock Grid.Row="1" Margin="22,0,52,8" Text="{Binding PopupTitle}"
Foreground="White" FontSize="15" FontWeight="Bold"
VerticalAlignment="Center" TextTrimming="CharacterEllipsis"/>
<controls:RoundedClipBorder Grid.Row="2" CornerRadius="0,0,19,19"
Background="{DynamicResource ToolSurfaceBrush}">
<Frame Content="{Binding Content}" NavigationUIVisibility="Hidden"
Background="Transparent" Margin="18,12,18,18"/>
</controls:RoundedClipBorder>
</Grid>
</controls:RoundedClipBorder>
</Border>
</Window>