#349 – Predefined Command Objects, Part II
July 25, 2011 Leave a comment
When you associate a button or menu item to a command object by setting its Command property, you typically associate the control with a preexisting command object. You can also create your own command, e.g. an instance of a RoutedUICommand.
The preexisting commands listed below are all static properties, pointing to instances of a RoutedUICommand.
- In NavigationCommands
- BrowseBack
- BrowseForward
- BrowseHome
- BrowseStop
- DecreaseZoom
- Favorites
- FirstPage
- GoToPage
- IncreaseZoom
- LastPage
- NavigateJournal
- NextPage
- PreviousPage
- Refresh
- Search
- Zoom
- In EditingCommands
- AlignCenter
- AlignJustify
- AlignLeft
- AlignRight
- Backspace
- CorrectSpellingError
- DecreaseFontSize
- DecreaseIndentation
- Delete
- DeleteNextWord
- DeletePreviousWord
- EnterLineBreak
- EnterParagraphBreak
- IgnoreSpellingError
- IncreaseFontSize
- IncreaseIndentation
- MoveDownByLine
- MoveDownByPage
- MoveDownByParagraph
- MoveLeftByCharacter
- MoveLeftByWord
- MoveRightByCharacter
- MoveRightByWord
- MoveToDocumentEnd
- MoveToDocumentStart
- MoveToLineEnd
- MoveToLineStart
- MoveUpByLine
- MoveUpByPage
- MoveUpByParagraph
- SelectDownByLine
- SelectDownByPage
- SelectDownByParagraph
- SelectLeftByCharacter
- SelectLeftByWord
- SelectToDocumentEnd
- SelectToDocumentStart
- SelectToLineEnd
- SelectToLineStart
- SelectUpByLine
- SelectUpByPage
- SelectUpByParagraph
- TabBackward
- TabForward
- ToggleBold
- ToggleBullets
- ToggleInsert
- ToggleItalic
- ToggleNumbering
- ToggleSubscript
- ToggleSuperscript
- ToggleUnderline