ApplicationCommands ApplicationCommands ApplicationCommands ApplicationCommands Class

Definition

Provides a standard set of application related commands.

public ref class ApplicationCommands abstract sealed
public static class ApplicationCommands
type ApplicationCommands = class
Public Class ApplicationCommands
Inheritance
ApplicationCommandsApplicationCommandsApplicationCommandsApplicationCommands

Remarks

The commands in the ApplicationCommands class and commands in the other command library classes, such as ComponentCommands and NavigationCommands, are intended to represent a set of common commands that application programmers encounter frequently. The commands only represent the instance of the RoutedCommand and not the implementation logic for the command. The implementation logic is bound to the command with a CommandBinding. For example, if the Close command is executed on a control, the logic which performs the Close command may not be provided by the control, so the application writer will be responsible for writing the logic that determines how the control will handle the command.

Many controls do provide implementation logic for many of the commands in the command library. For example, the TextBox class provides logic for the Paste, Cut, Copy, Undo, and Redo commands.

For more information on commands and commanding see the Commanding Overview.

Properties

CancelPrint CancelPrint CancelPrint CancelPrint

Gets the value that represents the Cancel Print command.

Close Close Close Close

Gets the value that represents the Close command.

ContextMenu ContextMenu ContextMenu ContextMenu

Gets the value that represents the Context Menu command.

Copy Copy Copy Copy

Gets the value that represents the Copy command.

CorrectionList CorrectionList CorrectionList CorrectionList

Gets the value that represents the Correction List command.

Cut Cut Cut Cut

Gets the value that represents the Cut command.

Delete Delete Delete Delete

Gets the value that represents the Delete command.

Find Find Find Find

Gets the value that represents the Find command.

Help Help Help Help

Gets the value that represents the Help command.

New New New New

Gets the value that represents the New command.

NotACommand NotACommand NotACommand NotACommand

Represents a command which is always ignored.

Open Open Open Open

Gets the value that represents the Open command.

Paste Paste Paste Paste

Gets the value that represents the Paste command.

Print Print Print Print

Gets the value that represents the Print command.

PrintPreview PrintPreview PrintPreview PrintPreview

Gets the value that represents the Print Preview command.

Properties Properties Properties Properties

Gets the value that represents the Properties command.

Redo Redo Redo Redo

Gets the value that represents the Redo command.

Replace Replace Replace Replace

Gets the value that represents the Replace command.

Save Save Save Save

Gets the value that represents the Save command.

SaveAs SaveAs SaveAs SaveAs

Gets the value that represents the Save As command.

SelectAll SelectAll SelectAll SelectAll

Gets the value that represents the Select All command.

Stop Stop Stop Stop

Gets the value that represents the Stop command.

Undo Undo Undo Undo

Gets the value that represents the Undo command.

Applies to

See Also