Uredi

Deli z drugimi prek


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
ApplicationCommands

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

Gets the value that represents the Cancel Print command.

Close

Gets the value that represents the Close command.

ContextMenu

Gets the value that represents the Context Menu command.

Copy

Gets the value that represents the Copy command.

CorrectionList

Gets the value that represents the Correction List command.

Cut

Gets the value that represents the Cut command.

Delete

Gets the value that represents the Delete command.

Find

Gets the value that represents the Find command.

Help

Gets the value that represents the Help command.

New

Gets the value that represents the New command.

NotACommand

Represents a command which is always ignored.

Open

Gets the value that represents the Open command.

Paste

Gets the value that represents the Paste command.

Print

Gets the value that represents the Print command.

PrintPreview

Gets the value that represents the Print Preview command.

Properties

Gets the value that represents the Properties command.

Redo

Gets the value that represents the Redo command.

Replace

Gets the value that represents the Replace command.

Save

Gets the value that represents the Save command.

SaveAs

Gets the value that represents the Save As command.

SelectAll

Gets the value that represents the Select All command.

Stop

Gets the value that represents the Stop command.

Undo

Gets the value that represents the Undo command.

Applies to

See also