<settingspagebase:SettingsPageBase
        xmlns:settingspagebase="clr-namespace:FasdDesktopUi.Pages.SettingsPage"
        x:Class="FasdDesktopUi.Pages.ShortCutPage.ShortCutPageView"
        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:local="clr-namespace:FasdDesktopUi.Pages.ShortCutPage"
        xmlns:ico="clr-namespace:FasdDesktopUi.Basics.UserControls.AdaptableIcon;assembly=F4SD-AdaptableIcon"
        mc:Ignorable="d"
        Title="ShortCutPageView"
        IsVisibleChanged="BlurInvoker_IsActiveChanged"
        ResizeMode="NoResize"
        WindowStyle="None"
        AllowsTransparency="True"
        Background="Transparent"
        MinHeight="100"
        MinWidth="400"
        ShowInTaskbar="False"
        Topmost="True"
        SizeToContent="WidthAndHeight"
        WindowStartupLocation="CenterScreen"
        UseLayoutRounding="True">

    <WindowChrome.WindowChrome>
        <WindowChrome CaptionHeight="40" />
    </WindowChrome.WindowChrome>

    <Border CornerRadius="10"
            Background="{DynamicResource BackgroundColor.Menu.Categories}"
            Padding="10"
            Style="{x:Null}">

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

            <ico:AdaptableIcon x:Name="CloseButton"
                               Grid.Row="0"
                               HorizontalAlignment="Right"
                               Style="{DynamicResource SettingsPage.Close.Icon}"
                               MouseLeftButtonUp="CloseButton_MouseUp"
                               TouchDown="CloseButton_TouchDown"
                               SelectedInternIcon="window_close" />

            <StackPanel x:Name="ContentPanel"
                        Grid.Row="1">
                <StackPanel.Resources>
                    <Style TargetType="Border">
                        <Setter Property="BorderBrush"
                                Value="#DBDBDB" />
                        <Setter Property="Background"
                                Value="#F7FAFA" />
                        <Setter Property="BorderThickness"
                                Value="1.5" />
                        <Setter Property="Padding"
                                Value="6 2.5" />
                        <Setter Property="MaxHeight"
                                Value="30" />
                        <Setter Property="CornerRadius"
                                Value="5" />
                        <Setter Property="Margin"
                                Value="0 7.5" />
                        <Setter Property="Effect">
                            <Setter.Value>
                                <DropShadowEffect Color="{DynamicResource ShadowColor.Menu.KeyBoardShortcut}"
                                                  Direction="290"
                                                  ShadowDepth="2.5"
                                                  BlurRadius="7.5" />
                            </Setter.Value>
                        </Setter>
                    </Style>

                    <Style TargetType="TextBlock">
                        <Setter Property="Margin"
                                Value="0, 0, 20, 0" />
                        <Setter Property="FontSize"
                                Value="14" />
                        <Setter Property="FontFamily"
                                Value="Calibri" />
                        <Setter Property="FontWeight"
                                Value="Bold" />
                        <Setter Property="Foreground"
                                Value="{DynamicResource FontColor.Menu.Categories}" />
                        <Setter Property="VerticalAlignment"
                                Value="Center" />
                        <Setter Property="TextWrapping"
                                Value="Wrap" />
                        <Setter Property="MaxWidth"
                                Value="250" />
                        <Setter Property="HorizontalAlignment"
                                Value="Left" />
                    </Style>
                </StackPanel.Resources>
            </StackPanel>
        </Grid>

    </Border>

</settingspagebase:SettingsPageBase>
