WPF提供命令集
常用的命令集包括: 1.ApplicationCommands(应用程序命令)
2.ComponentCommands(组件命令)
3.NavigationCommands(导航命令)
4.MediaCommands(多媒体控制命令)
5.EditingCommands(编辑/排版类命令)
ApplicationCommands(应用程序命令)
CancelPrint 取消打印 Close 关闭 ContextMenu 上下文菜单 Copy 复制 Cut 剪切 CorrectionList Gets the value that represents the Correction List command Delete 删除 Find 查找 Help 帮助 New 新建 NotACommand 不是命令,被忽略 Open 打开 Paste 粘贴 打印 PrintPreview 打印预览 Properties 属性 Redo 重做 Replace 取代 Save 保存 SaveAs 另存为 SelectAll 选择所有的 Stop 停止 Undo 撤消
ComponentCommands(组件命令):
ExtendSelection 后接Down/Left/Right/Up 如:ExtendSelectionDown Move 后接Down/Left/Right/Up 如:MoveDown MoveFocus 后接Down/Forward/Back/Up 如:MoveFocusDown MoveFocusPage 后接Down/Up 如:MoveFocusPageUp MoveTo 后接End/Home/PageDown/PageUp 如:MoveToPageDown ScrollPage 后接Down/Left/Right/Up 如:ScrollPageLeft SelectTo 后End/Home/PageDown/PageUp 如:SelectToEnd
NavigationCommands(导航命令):
Browse浏览 后接Back/Forward/Home/Stop 如:BrowseBack 缩放显示 DecreaseZoom, IncreaseZoom, Zoom Favorites 收藏 FirstPage, LastPage, PreviousPage, NextPage,GoToPage 页面 NavigateJournal Refresh 刷新 Search 搜索
MediaCommands(多媒体控制命令):
Treble 高音 DecreaseTreble,IncreaseTreble Bass 低音 BoostBass,DecreaseBass,IncreaseBass Channel 频道 ChannelDown,ChannelUp Microphone
Volume麦克风
音量调节DecreaseMicrophoneVolume,
IncreaseMicrophoneVolume,MuteMicrophoneVolumeToggleMicrophone
OnOff麦克风
开关Volume 音量 DecreaseVolume,IncreaseVolume,MuteVolume Rewind 回放 FastForward 快进 Track 轨道 PreviousTrack,NextTrack [上一段(节)] Play,Pause,
Stop,Record播放,暂停,
停止,录制Select 选择
EditingCommands(编辑/排版类命令):
Align 对齐 AlignCenter,AlignJustify,AlignLeft,AlignRight(居中,撑满,左对齐,右对齐) Backspace 退格 TabForward Tab前缩 TabBackward Tab向后 FontSize 字体大小 DecreaseFontSize,IncreaseFontSize Indentation 缩排 DecreaseIndentation
IncreaseIndentationDelete 删除 DeleteNextWord 删除后一字
DeletePreviousWord 删除前一字EnterLineBreak 换行 EnterParagraphBreak 换段 CorrectSpellingError
IgnoreSpellingError纠正拼写错误
忽略拼写错误MoveUpByLine
MoveDownByLine上/下移一行 MoveUpByPage
MoveDownByPage上/下移一页 MoveUpByParagraph
MoveDownByParagraph左/右移一字符 MoveLeftByWord
MoveRightByWord左/右移一词 MoveToDocumentStart
MoveToDocumentEnd到文章开头/结尾 MoveToLineStart
MoveToLineEnd到一行的开头/结尾 SelectUpByLine
SelectDownByLine向上/下选一行 SelectUpByPage
SelectDownByPage向上/下选一页 SelectUpByParagraph
SelectDownByParagraph向上/下选一段 SelectLeftByCharacter
SelectRightByCharacter向左/右选中一字
浙公网安备 33010602011771号