<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                    xmlns:adonisUi="clr-namespace:AdonisUI;assembly=AdonisUI"
                    xmlns:converters="clr-namespace:FModel.Views.Resources.Converters"
                    x:Class="FModel.Views.Resources.Controls.ContextMenus.FolderContextMenuDictionary">
    <ContextMenu x:Key="FolderContextMenu" x:Shared="False"
                 Opened="FolderContextMenu_OnOpened">
        <MenuItem Header="Export Folder's Packages Raw Data (.uasset)"
                  Command="{Binding RightClickMenuCommand}">
            <MenuItem.CommandParameter>
                <MultiBinding Converter="{x:Static converters:MultiParameterConverter.Instance}">
                    <Binding Source="Folders_Export_Data" />
                    <Binding Path="Tag"
                             RelativeSource="{RelativeSource AncestorType=ContextMenu}" />
                </MultiBinding>
            </MenuItem.CommandParameter>
            <MenuItem.Icon>
                <Viewbox Width="16"
                         Height="16">
                    <Canvas Width="24"
                            Height="24">
                        <Path Fill="{DynamicResource {x:Static adonisUi:Brushes.ForegroundBrush}}"
                              Data="{StaticResource ExportIcon}" />
                    </Canvas>
                </Viewbox>
            </MenuItem.Icon>
        </MenuItem>
        <MenuItem Header="Save Folder's Packages Properties (.json)"
                  Command="{Binding RightClickMenuCommand}">
            <MenuItem.CommandParameter>
                <MultiBinding Converter="{x:Static converters:MultiParameterConverter.Instance}">
                    <Binding Source="Folders_Save_Properties" />
                    <Binding Path="Tag"
                             RelativeSource="{RelativeSource AncestorType=ContextMenu}" />
                </MultiBinding>
            </MenuItem.CommandParameter>
            <MenuItem.Icon>
                <Viewbox Width="16"
                         Height="16">
                    <Canvas Width="24"
                            Height="24">
                        <Path Fill="{DynamicResource {x:Static adonisUi:Brushes.ForegroundBrush}}"
                              Data="{StaticResource SaveIcon}" />
                    </Canvas>
                </Viewbox>
            </MenuItem.Icon>
        </MenuItem>
        <MenuItem Header="Save Folder's Packages Textures"
                  Command="{Binding RightClickMenuCommand}">
            <MenuItem.CommandParameter>
                <MultiBinding Converter="{x:Static converters:MultiParameterConverter.Instance}">
                    <Binding Source="Folders_Save_Textures" />
                    <Binding Path="Tag"
                             RelativeSource="{RelativeSource AncestorType=ContextMenu}" />
                </MultiBinding>
            </MenuItem.CommandParameter>
            <MenuItem.Icon>
                <Viewbox Width="16"
                         Height="16">
                    <Canvas Width="24"
                            Height="24">
                        <Path Fill="{DynamicResource {x:Static adonisUi:Brushes.ForegroundBrush}}"
                              Data="{StaticResource TextureIcon}" />
                    </Canvas>
                </Viewbox>
            </MenuItem.Icon>
        </MenuItem>
        <MenuItem Header="Save Folder's Packages Models"
                  Command="{Binding RightClickMenuCommand}">
            <MenuItem.CommandParameter>
                <MultiBinding Converter="{x:Static converters:MultiParameterConverter.Instance}">
                    <Binding Source="Folders_Save_Models" />
                    <Binding Path="Tag"
                             RelativeSource="{RelativeSource AncestorType=ContextMenu}" />
                </MultiBinding>
            </MenuItem.CommandParameter>
            <MenuItem.Icon>
                <Viewbox Width="16"
                         Height="16">
                    <Canvas Width="24"
                            Height="24">
                        <Path Fill="{DynamicResource {x:Static adonisUi:Brushes.ForegroundBrush}}"
                              Data="{StaticResource ModelIcon}" />
                    </Canvas>
                </Viewbox>
            </MenuItem.Icon>
        </MenuItem>
        <MenuItem Header="Save Folder's Packages Animations"
                  Command="{Binding RightClickMenuCommand}">
            <MenuItem.CommandParameter>
                <MultiBinding Converter="{x:Static converters:MultiParameterConverter.Instance}">
                    <Binding Source="Folders_Save_Animations" />
                    <Binding Path="Tag"
                             RelativeSource="{RelativeSource AncestorType=ContextMenu}" />
                </MultiBinding>
            </MenuItem.CommandParameter>
            <MenuItem.Icon>
                <Viewbox Width="16"
                         Height="16">
                    <Canvas Width="24"
                            Height="24">
                        <Path Fill="{DynamicResource {x:Static adonisUi:Brushes.ForegroundBrush}}"
                              Data="{StaticResource AnimationIcon}" />
                    </Canvas>
                </Viewbox>
            </MenuItem.Icon>
        </MenuItem>
        <MenuItem Header="Save Folder's Packages Audio"
                  Command="{Binding RightClickMenuCommand}">
            <MenuItem.CommandParameter>
                <MultiBinding Converter="{x:Static converters:MultiParameterConverter.Instance}">
                    <Binding Source="Folders_Save_Audio" />
                    <Binding Path="Tag"
                             RelativeSource="{RelativeSource AncestorType=ContextMenu}" />
                </MultiBinding>
            </MenuItem.CommandParameter>
            <MenuItem.Icon>
                <Viewbox Width="16"
                         Height="16">
                    <Canvas Width="24"
                            Height="24">
                        <Path Fill="{DynamicResource {x:Static adonisUi:Brushes.ForegroundBrush}}"
                              Data="{StaticResource AudioIcon}" />
                    </Canvas>
                </Viewbox>
            </MenuItem.Icon>
        </MenuItem>
        <Separator />
        <MenuItem Header="Favorite Directory" Click="OnFavoriteDirectoryClick"
                  CommandParameter="{Binding Tag, RelativeSource={RelativeSource AncestorType=ContextMenu}}">
            <MenuItem.Icon>
                <Viewbox Width="16" Height="16">
                    <Canvas Width="24" Height="24">
                        <Path Fill="{DynamicResource {x:Static adonisUi:Brushes.ForegroundBrush}}" Data="{StaticResource DirectoriesAddIcon}" />
                    </Canvas>
                </Viewbox>
            </MenuItem.Icon>
        </MenuItem>
        <MenuItem Header="Copy Directory Path" Click="OnCopyDirectoryPathClick"
                  CommandParameter="{Binding Tag, RelativeSource={RelativeSource AncestorType=ContextMenu}}">
            <MenuItem.Icon>
                <Viewbox Width="16" Height="16">
                    <Canvas Width="24" Height="24">
                        <Path Fill="{DynamicResource {x:Static adonisUi:Brushes.ForegroundBrush}}" Data="{StaticResource CopyIcon}" />
                    </Canvas>
                </Viewbox>
            </MenuItem.Icon>
        </MenuItem>
    </ContextMenu>
</ResourceDictionary>
