|
234 | 234 | <CommandBinding Command="{StaticResource Command.DiscardProject}" CanExecute="File_CanExecute" Executed="DiscardProject_Executed"/> |
235 | 235 |
|
236 | 236 | <!--Action Stack--> |
237 | | - <CommandBinding Command="Undo" CanExecute="Undo_CanExecute" Executed="Undo_Executed"/> |
| 237 | + <CommandBinding Command="{StaticResource Command.Undo}" CanExecute="Undo_CanExecute" Executed="Undo_Executed"/> |
238 | 238 | <CommandBinding Command="{StaticResource Command.Reset}" CanExecute="Reset_CanExecute" Executed="Reset_Executed"/> |
239 | | - <CommandBinding Command="Redo" CanExecute="Redo_CanExecute" Executed="Redo_Executed"/> |
| 239 | + <CommandBinding Command="{StaticResource Command.Redo}" CanExecute="Redo_CanExecute" Executed="Redo_Executed"/> |
240 | 240 |
|
241 | 241 | <!--Clipboard--> |
242 | | - <CommandBinding Command="Cut" CanExecute="ClipBoard_CanExecute" Executed="Cut_Executed"/> |
243 | | - <CommandBinding Command="Copy" CanExecute="ClipBoard_CanExecute" Executed="Copy_Executed"/> |
244 | | - <CommandBinding Command="Paste" CanExecute="Paste_CanExecute" Executed="Paste_Executed"/> |
| 242 | + <CommandBinding Command="{StaticResource Command.Cut}" CanExecute="ClipBoard_CanExecute" Executed="Cut_Executed"/> |
| 243 | + <CommandBinding Command="{StaticResource Command.Copy}" CanExecute="ClipBoard_CanExecute" Executed="Copy_Executed"/> |
| 244 | + <CommandBinding Command="{StaticResource Command.Paste}" CanExecute="Paste_CanExecute" Executed="Paste_Executed"/> |
245 | 245 | <CommandBinding Command="{StaticResource Command.ExploreClipboard}" CanExecute="ClipBoardSelection_CanExecute" Executed="ExploreClipBoard_Executed"/> |
246 | 246 | <CommandBinding Command="{StaticResource Command.RemoveClipboardEntry}" CanExecute="ClipBoardSelection_CanExecute" Executed="RemoveClipboard_Executed"/> |
247 | 247 |
|
|
264 | 264 | <CommandBinding Command="{StaticResource Command.LastFrame}" CanExecute="Playback_CanExecute" Executed="LastFrame_Executed"/> |
265 | 265 |
|
266 | 266 | <!--Frames--> |
267 | | - <CommandBinding Command="Delete" CanExecute="Delete_CanExecute" Executed="Delete_Executed"/> |
| 267 | + <CommandBinding Command="{StaticResource Command.Delete}" CanExecute="Delete_CanExecute" Executed="Delete_Executed"/> |
268 | 268 | <CommandBinding Command="{StaticResource Command.DeletePrevious}" CanExecute="DeletePrevious_CanExecute" Executed="DeletePrevious_Executed"/> |
269 | 269 | <CommandBinding Command="{StaticResource Command.DeleteNext}" CanExecute="DeleteNext_CanExecute" Executed="DeleteNext_Executed"/> |
270 | 270 | <CommandBinding Command="{StaticResource Command.RemoveDuplicates}" CanExecute="RemoveDuplicates_CanExecute" Executed="RemoveDuplicates_Executed"/> |
|
596 | 596 | FontSize="12" Foreground="{DynamicResource Element.Foreground.Gray112}"/> |
597 | 597 |
|
598 | 598 | <n:ImageButton x:Name="UndoButton" Grid.Row="0" Grid.Column="0" Text="{DynamicResource Editor.Home.Undo}" Content="{StaticResource Vector.Undo}" |
599 | | - MinWidth="55" ContentHeight="28" ContentWidth="28" Style="{StaticResource Style.Button.Vertical}" Command="Undo" |
| 599 | + MinWidth="55" ContentHeight="28" ContentWidth="28" Style="{StaticResource Style.Button.Vertical}" Command="{StaticResource Command.Undo}" |
600 | 600 | ToolTip="{Binding Command, RelativeSource={RelativeSource Self}, Converter={StaticResource CommandToInputGestureText}}" |
601 | 601 | ToolTipService.Placement="Bottom" ToolTipService.HorizontalOffset="-5"/> |
602 | 602 |
|
|
612 | 612 | ToolTipService.Placement="Top" ToolTipService.HorizontalOffset="-5"/> |
613 | 613 |
|
614 | 614 | <n:ImageButton x:Name="RedoButton" Grid.Row="1" Text="{DynamicResource Editor.Home.Redo}" Content="{StaticResource Vector.Redo}" |
615 | | - Padding="2" MinWidth="60" MaxSize="25" Style="{StaticResource Style.Button.Horizontal}" Command="Redo" |
| 615 | + Padding="2" MinWidth="60" MaxSize="25" Style="{StaticResource Style.Button.Horizontal}" Command="{StaticResource Command.Redo}" |
616 | 616 | ToolTip="{Binding Command, RelativeSource={RelativeSource Self}, Converter={StaticResource CommandToInputGestureText}}" |
617 | 617 | ToolTipService.Placement="Bottom" ToolTipService.HorizontalOffset="-5"/> |
618 | 618 | </Grid> |
|
647 | 647 | </Grid> |
648 | 648 |
|
649 | 649 | <n:ImageButton Grid.Row="0" Grid.Column="0" x:Name="PasteButton" Text="{DynamicResource Editor.Home.Paste}" Content="{StaticResource Vector.Paste}" |
650 | | - MinWidth="55" ContentHeight="28" ContentWidth="28" Style="{StaticResource Style.Button.Vertical}" Command="Paste" |
| 650 | + MinWidth="55" ContentHeight="28" ContentWidth="28" Style="{StaticResource Style.Button.Vertical}" Command="{StaticResource Command.Paste}" |
651 | 651 | ToolTip="{Binding Command, RelativeSource={RelativeSource Self}, Converter={StaticResource CommandToInputGestureText}}" |
652 | 652 | ToolTipService.Placement="Bottom" ToolTipService.HorizontalOffset="-5"/> |
653 | 653 |
|
|
658 | 658 | </Grid.RowDefinitions> |
659 | 659 |
|
660 | 660 | <n:ImageButton x:Name="CopyButton" Grid.Row="0" Grid.Column="0" Text="{DynamicResource Editor.Home.Copy}" Content="{StaticResource Vector.Copy}" |
661 | | - Padding="2" MinWidth="60" MaxSize="28" Style="{StaticResource Style.Button.Horizontal}" Command="Copy" |
| 661 | + Padding="2" MinWidth="60" MaxSize="28" Style="{StaticResource Style.Button.Horizontal}" Command="{StaticResource Command.Copy}" |
662 | 662 | ToolTip="{Binding Command, RelativeSource={RelativeSource Self}, Converter={StaticResource CommandToInputGestureText}}" |
663 | 663 | ToolTipService.Placement="Top" ToolTipService.HorizontalOffset="-5"/> |
664 | 664 |
|
665 | 665 | <n:ImageButton x:Name="CutButton" Grid.Row="1" Text="{DynamicResource Editor.Home.Cut}" Content="{StaticResource Vector.Cut}" |
666 | | - Padding="2" MinWidth="60" MaxSize="28" Style="{StaticResource Style.Button.Horizontal}" Command="Cut" |
| 666 | + Padding="2" MinWidth="60" MaxSize="28" Style="{StaticResource Style.Button.Horizontal}" Command="{StaticResource Command.Cut}" |
667 | 667 | ToolTip="{Binding Command, RelativeSource={RelativeSource Self}, Converter={StaticResource CommandToInputGestureText}}" |
668 | 668 | ToolTipService.Placement="Bottom" ToolTipService.HorizontalOffset="-5"/> |
669 | 669 | </Grid> |
|
873 | 873 | FontSize="12" Foreground="{DynamicResource Element.Foreground.Gray112}"/> |
874 | 874 |
|
875 | 875 | <n:ImageButton Grid.Row="0" Grid.Column="0" x:Name="DeleteButton" Text="{DynamicResource Editor.Edit.Delete}" Content="{StaticResource Vector.RemoveImage}" |
876 | | - MinWidth="55" ContentHeight="28" ContentWidth="28" Style="{StaticResource Style.Button.Vertical}" Command="Delete" |
| 876 | + MinWidth="55" ContentHeight="28" ContentWidth="28" Style="{StaticResource Style.Button.Vertical}" Command="{StaticResource Command.Delete}" |
877 | 877 | ToolTip="{Binding Command, RelativeSource={RelativeSource Self}, Converter={StaticResource CommandToInputGestureText}}" |
878 | 878 | ToolTipService.Placement="Bottom" ToolTipService.HorizontalOffset="-5"/> |
879 | 879 |
|
|
0 commit comments