JD2022-TU1/main/tools/modules/JD.Soundwich/Controls/ExportMenu.xaml

25 lines
2.1 KiB
XML

<MenuItem x:Class="JD.Soundwich.Controls.ExportMenu"
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:JD.Soundwich.Controls"
xmlns:themes="http://schemas.actiprosoftware.com/winfx/xaml/themes"
mc:Ignorable="d"
d:DesignHeight="450" d:DesignWidth="800" Header="Export" Style="{DynamicResource {x:Static themes:SharedResourceKeys.MenuItemStyleKey}}" x:Name="ExportMenuName">
<MenuItem Header="Clean" Command="{Binding ElementName=ExportMenuName, Path=CleanAudition}" ToolTip="press F4" InputGestureText="F4" Style="{DynamicResource {x:Static themes:SharedResourceKeys.MenuItemStyleKey}}">
<MenuItem.Icon>
<Image Source="pack://application:,,,/JD.Soundwich.Core;component/SounwichStudio/OldSoundwich/Resources/Images/Refresh16.png" Width="16" Height="16" />
</MenuItem.Icon>
</MenuItem>
<MenuItem Header="Export" Command="{Binding ElementName=ExportMenuName, Path=ExportAudition}" CommandParameter="{Binding Path=LastSelectedDocument}" ToolTip="press F6" InputGestureText="F6" Style="{DynamicResource {x:Static themes:SharedResourceKeys.MenuItemStyleKey}}">
<MenuItem.Icon>
<Image Source="pack://application:,,,/JD.Soundwich.Core;component/SounwichStudio/OldSoundwich/Resources/Images/Save16.png" Width="16" Height="16" />
</MenuItem.Icon>
</MenuItem>
<MenuItem Header="Export All" Command="{Binding ElementName=ExportMenuName, Path=ExportAllAudition}" ToolTip="press Shift+F6" InputGestureText="Shift+F6" Style="{DynamicResource {x:Static themes:SharedResourceKeys.MenuItemStyleKey}}">
<MenuItem.Icon>
<Image Source="pack://application:,,,/JD.Soundwich.Core;component/SounwichStudio/OldSoundwich/Resources/Images/SaveAll16.png" Width="16" Height="16" />
</MenuItem.Icon>
</MenuItem>
</MenuItem>