ComponentCommands ComponentCommands ComponentCommands ComponentCommands Class

Definition

Provides a standard set of component-related commands, which have predefined key input gestures and Text properties.

public ref class ComponentCommands abstract sealed
public static class ComponentCommands
type ComponentCommands = class
Public Class ComponentCommands
Inheritance
ComponentCommandsComponentCommandsComponentCommandsComponentCommands

Remarks

The commands in the ComponentCommands class and commands in the other command library classes, such as ApplicationCommands 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 via a CommandBindings. For example, if the MoveLeft command is executed on a control (the command target), the logic that performs the MoveLeft command may not be provided by the command target, so the application writer is responsible for writing the logic that determines how the command target handles the command.

Many controls do provide implementation logic, though, for many of the commands in the command library. For example, the TextBox class provides logic for the Paste command, Cut command, Copy command, Undo command, and Redo command. See the class documentation for particular control classes for more information.

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

Properties

ExtendSelectionDown ExtendSelectionDown ExtendSelectionDown ExtendSelectionDown

Gets the value that represents the Extend Selection Down command.

ExtendSelectionLeft ExtendSelectionLeft ExtendSelectionLeft ExtendSelectionLeft

Gets the value that represents the Extend Selection Left command.

ExtendSelectionRight ExtendSelectionRight ExtendSelectionRight ExtendSelectionRight

Gets the value that represents the Extend Selection Right command.

ExtendSelectionUp ExtendSelectionUp ExtendSelectionUp ExtendSelectionUp

Gets the value that represents the Extend Selection Up command.

MoveDown MoveDown MoveDown MoveDown

Gets the value that represents the Move Down command.

MoveFocusBack MoveFocusBack MoveFocusBack MoveFocusBack

Gets the value that represents the Move Focus Back command.

MoveFocusDown MoveFocusDown MoveFocusDown MoveFocusDown

Gets the value that represents the Move Focus Down command.

MoveFocusForward MoveFocusForward MoveFocusForward MoveFocusForward

Gets the value that represents the Move Focus Forward command.

MoveFocusPageDown MoveFocusPageDown MoveFocusPageDown MoveFocusPageDown

Gets the value that represents the Move Focus Page Down command.

MoveFocusPageUp MoveFocusPageUp MoveFocusPageUp MoveFocusPageUp

Gets the value that represents the Move Focus Page Up command.

MoveFocusUp MoveFocusUp MoveFocusUp MoveFocusUp

Gets the value that represents the Move Focus Up command.

MoveLeft MoveLeft MoveLeft MoveLeft

Gets the value that represents the Move Left command.

MoveRight MoveRight MoveRight MoveRight

Gets the value that represents the Move Right command.

MoveToEnd MoveToEnd MoveToEnd MoveToEnd

Gets the value that represents the Move To End command.

MoveToHome MoveToHome MoveToHome MoveToHome

Gets the value that represents the Move To Home command.

MoveToPageDown MoveToPageDown MoveToPageDown MoveToPageDown

Gets the value that represents the Move To Page Down command.

MoveToPageUp MoveToPageUp MoveToPageUp MoveToPageUp

Gets the value that represents the Move To Page Up command.

MoveUp MoveUp MoveUp MoveUp

Gets the value that represents the Move Up command.

ScrollByLine ScrollByLine ScrollByLine ScrollByLine

Gets the value that represents the Scroll By Line command.

ScrollPageDown ScrollPageDown ScrollPageDown ScrollPageDown

Gets the value that represents the Scroll Page Down command.

ScrollPageLeft ScrollPageLeft ScrollPageLeft ScrollPageLeft

Gets the value that represents the Scroll Page Left command.

ScrollPageRight ScrollPageRight ScrollPageRight ScrollPageRight

Gets the value that represents the Scroll Page Right command.

ScrollPageUp ScrollPageUp ScrollPageUp ScrollPageUp

Gets the value that represents the Scroll Page Up command.

SelectToEnd SelectToEnd SelectToEnd SelectToEnd

Gets the value that represents the Select To End command.

SelectToHome SelectToHome SelectToHome SelectToHome

Gets the value that represents the Select To Home command.

SelectToPageDown SelectToPageDown SelectToPageDown SelectToPageDown

Gets the value that represents the Select To Page Down command.

SelectToPageUp SelectToPageUp SelectToPageUp SelectToPageUp

Gets the value that represents the Select To Page Up command.

Applies to

See Also