TAILIEUCHUNG - Lập trình .net 4.0 và visual studio 2010 part 57

WPF 4,0 bây giờ chứa DataGrid, Calendar, và DatePicker kiểm soát trước đây có sẵn như là một phần của bộ công cụ WPF. Microsoft nói rằng những điều khiển có gần 100 phần trăm tương thích với mối quan hệ Silverlight của họ. Hình 15-16 cho thấy lịch mới và DatePicker điều khiển; Hình 15-17 cho thấy sự kiểm soát DataGrid trong hành động. | CHAPTER 15 WPF AND SILVERLIGHT New Controls WPF now contains the DataGrid Calendar and DatePicker controls that were previously available as part of the WPF toolkit. Microsoft says that these controls are nearly 100 percent compatible with their Silverlight relations. Figure 15-16 shows the new Calendar and DatePicker controls Figure 15-17 shows the DataGrid control in action. Figure 15-16. Calendar and DatePicker controls Figure 15-17. DataGrid control The easiest way to create these controls is to drag them from the toolbox or add them manually with the following XAML Calendar Calendar DatePicker DataGrid DataGrid 377 CHAPTER 15 WPF AND SILVERLIGHT Ribbon Control and Bag O Tricks Microsoft says that shortly after the release of VS2010 it will introduce a new WPF Ribbon control. The Ribbon control could work particularly well in conjunction with the new touchscreen APIs. A CTP of the Ribbon control is available at http Release ReleaseId 29117. Microsoft will also be making an out-of-band release that will contain the following controls under the collection name Bag O Tricks sorry no information is available at time of writing although judging by the control names you can have a pretty good guess at what they do AnimatingTilePanel NumericUpDown ColorPicker Reveal InfoTextBox TransitionsPresenter ListPager TreeMapPanel Windows 7 Integration Windows 7 has some great new UI features such as jump lists taskbar overlays and progress indicators. WPF allows you to add these features to your applications. It is also worth noting that in this release WPF dialogs now have the same feel of Vista and Windows 7 depending what they are running on . Jump Lists Jump lists which allow you to easily perform common tasks are activated by right-clicking an application on the task bar. Figure 15-18 shows the jump list for Windows Live Messenger. Figure 15-18. Jump list in Windows 7 378 CHAPTER 15 WPF AND SILVERLIGHT

TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.