<local:MyPageRight
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="clr-namespace:PCL" xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d" x:Class="PCL.PageInstanceScreenshot"
    PanScroll="{Binding ElementName=PanBack}" Grid.IsSharedSizeScope="True">
    <local:MyScrollViewer VerticalScrollBarVisibility="Auto" HorizontalScrollBarVisibility="Disabled" x:Name="PanBack">
        <Grid>
            <local:MyCard HorizontalAlignment="Center" VerticalAlignment="Center" Margin="40" x:Name="PanNoPic">
                <Grid Margin="20,17">
                    <Grid.RowDefinitions>
                        <RowDefinition Height="Auto" />
                        <RowDefinition Height="Auto" />
                        <RowDefinition Height="Auto" />
                        <RowDefinition Height="Auto" />
                    </Grid.RowDefinitions>
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="1*" />
                        <ColumnDefinition Width="Auto" />
                        <ColumnDefinition Width="Auto" />
                        <ColumnDefinition Width="1*" />
                    </Grid.ColumnDefinitions>
                    <TextBlock Grid.Row="0" Grid.ColumnSpan="4" Margin="0,0,0,9" HorizontalAlignment="Center"
                               Text="{DynamicResource Instance.Screenshot.Empty.Title}" FontSize="19"
                               UseLayoutRounding="True" SnapsToDevicePixels="True"
                               Foreground="{DynamicResource ColorBrush3}" />
                    <Rectangle Grid.Row="1" Grid.ColumnSpan="4" HorizontalAlignment="Stretch" Height="2"
                               Fill="{DynamicResource ColorBrush3}" />
                    <TextBlock Grid.Row="2" Grid.ColumnSpan="4" Margin="10,15,10,5"
                               Text="{DynamicResource Instance.Screenshot.Empty.Message}" TextWrapping="Wrap" />
                    <local:MyButton Grid.Row="3" Grid.Column="1" Height="35" HorizontalAlignment="Center"
                                    x:Name="BtnOpenFolderTop" MinWidth="140"
                                    Text="{DynamicResource Instance.Screenshot.OpenFolder}" Margin="10,10,10,0"
                                    Padding="13,0" ColorType="Highlight" />
                </Grid>
            </local:MyCard>
            <StackPanel Orientation="Vertical" Margin="10,25,10,10" x:Name="PanContent">
                <local:MyCard Margin="15,0,15,15" Title="{DynamicResource Instance.Screenshot.QuickActions}">
                    <Grid Height="35" Margin="25,40,15,20">
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition Width="Auto" SharedSizeGroup="Button" />
                            <ColumnDefinition Width="Auto" SharedSizeGroup="Button" />
                        </Grid.ColumnDefinitions>
                        <local:MyButton Grid.Column="0" MinWidth="140"
                                        Text="{DynamicResource Instance.Screenshot.OpenFolder}" Padding="13,0"
                                        Margin="0,0,20,0"
                                        HorizontalAlignment="Left" x:Name="BtnOpenFolder" ColorType="Highlight" />
                    </Grid>
                </local:MyCard>
                <WrapPanel Margin="8,0,8,25" Name="PanList" HorizontalAlignment="Center" Orientation="Horizontal">
                    <!--<local:MyCard Height="220" Width="120" Margin="7" Tag="Path">
            <Grid>
                <Grid.RowDefinitions>
                    <RowDefinition Height="180"/>
                    <RowDefinition/>
                </Grid.RowDefinitions>
                <Image Grid.Row="0"/>
                <StackPanel Grid.Row="1">
                    <local:MyIconTextButton x:Name="BtnOpen" Text="{DynamicResource Common.Action.Open}"
                    LogoScale="0.8" SvgIcon="lucide/folder-open" />
                </StackPanel>
            </Grid>
        </local:MyCard>-->
                </WrapPanel>
            </StackPanel>
        </Grid>
    </local:MyScrollViewer>
</local:MyPageRight>