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 粘贴
Print 打印
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,MuteMicrophoneVolume
ToggleMicrophone
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
IncreaseIndentation
Delete 删除 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
向左/右选中一字  
posted on 2010-02-23 15:07  家有梓轩  阅读(313)  评论(0)    收藏  举报