tailieunhanh - Pro WPF in C# 2010 phần 4
Tài liệu WPF trên mạng có khá nhiều, nào là các bài báo cáo của các sinh viên đã học, các slide bài giảng được upload lên mạng, và nhiều nguồn khác từ các diễn đàn, blog, website Vậy nên chọn tài liệu nào cho thích hợp. Và lới khuyên của tôi đưa ra là bạn đừng nên nóng vội Download tất cả các tài liệu đó về máy. | CHAPTER 9 COMMANDS applications will have their own versions of the New Open and Save commands. To save you the work of creating those commands WPF includes a basic command library that s stocked with more than 100 commands. These commands are exposed through the static properties of five dedicated static classes ApplicationCommands. This class provides the common commands including clipboard commands such as Copy Cut and Paste and document commands such as New Open Save SaveAs Print and so on . NavigationCommands. This class provides commands used for navigation including some that are designed for page-based applications such as BrowseBack BrowseForward and NextPage and others that are suitable for document-based applications such as IncreaseZoom and Refresh . EditingCommands. This class provides a long list of mostly document-editing commands including commands for moving around MoveToLineEnd MoveLeftByWord MoveUpByPage and so on selecting content SelectToLineEnd SelectLeftByWord and changing formatting ToggleBold and ToggleUnderline . ComponentCommands. This includes commands that are used by userinterface components including commands for moving around and selecting content that are similar to and even duplicate some of the commands in the EditingCommands class. MediaCommands. This class includes a set of commands for dealing with multimedia such as Play Pause NextTrack and IncreaseVolume . The ApplicationCommands class exposes a set of basic commands that are commonly used in all types of applications so it s worth a quick look. Here s the full list New Open Save SaveAs Close Print PrintPreview CancelPrint Copy Cut Paste Delete Undo Redo Find Replace SelectAll Stop ContextMenu CorrectionList Properties Help For example is a static property that exposes a RoutedUICommand object. This object represents the Open command in an application. Because is a static property there is only one instance of the Open command
đang nạp các trang xem trước