TAILIEUCHUNG - Apress pro Silverlight 3 in C# phần 6

Silverlight cung cấp mô hình lập trình động hỗ trợ AJAX, VB, C#, Python, và Ruby, và tích hợp với các ứng dụng Web hiện tại. Silverlight hỗ trợ phân phối video chất lượng cao một cách nhanh chóng và hiệu quả đến tất cả các trình duyệt web lớn chạy trên nền Mac OS hoặc Windows. | CHAPTER 10 Animation Animation allows you to create truly dynamic user interfaces. It s often used to apply effects for example icons that grow when you move over them logos that spin text that scrolls into view and so on. Sometimes these effects seem like excessive glitz. But used properly animations can enhance an application in a number of ways. They can make an application seem more responsive natural and intuitive. For example a button that slides in when you click it feels like a real physical button not just another gray rectangle. Animations can also draw attention to important elements and guide the user through transitions to new content. For example an application could advertise new content with a twinkling blinking or pulsing icon. Animations are a core part of the Silverlight model. That means you don t need to use timers and event-handling code to put them into action. Instead you can create and configure them declaratively using XAML markup. Animations also integrate themselves seamlessly into ordinary Silverlight pages. For example if you animate a button so it drifts around the page the button still behaves like a button. It can be styled it can receive focus and it can be clicked to fire off the typical event-handling code. In this chapter you ll consider the set of animation classes that Silverlight provides. You ll see how to construct them with XAML and more commonly how to control them with code. Along the way you ll see a wide range of animation examples including page transitions and a simple catch-the-bombs game. What s New Silverlight 3 adds a feature called animation easing which uses mathematical formulas to create more natural animated effects see the Animation Easing section . Although this is the only truly new animation feature you can create a wide range of new animated effects by combining Silverlight animation with two features you learned about in Chapter 9 perspective projections and pixel shaders. You ll see an example of both

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.