Đang chuẩn bị nút TẢI XUỐNG, xin hãy chờ
Tải xuống
Asp.Net 3.5 In Simple Steps- P22:This is a book that helps you to learn ASP.NET using Visual Studio 2008. Precision, an easy-to-understanding style, real life examples in support of the concepts, and practical approach in presentation are some of the features that make the book unique in itself. The text in the book is presented in such a way that is equally helpful to beginners as well as professionals. | ASP.NET 35 in Simple Steps Bild Now you can add controls to the Page.xaml file by dragging and dropping them from the Toolbox as shown in the Fig.ASP-12.12 Toclbox 3 X Silvcrl ht XAML Controls Pointer O Border @ Button T Calendar Fig.ASP-12.12 You can view the controls in the Preview of the Page.xaml file. However you cannot drag and drop the controls in the Preview of the Page.xaml file. 8. Add the code given in Listing 12.1 to design the Ul of your website Listing 12.1 Page.xaml Urheberrechtlic In Listing 12.1 you can see that two Image tags insert an image in two cells of the Grid. Therefore you also need to add the corresponding image in the Solution Explorer window by performing the following steps Urheberrechtlich geschütztes Materie 236 ASP.NET 3.5 in Simple Steps 11. Press the F5 key to run the website. The output is shown in FiR.ASP-12.16 Fig.ASP-12.16 12. Click and drag either of the CridSplitter horizontal or vertical . Notice that the rows and columns are automatically resized as shown in Fig.ASP-12.17 In Fig.ASP-12.17 you can notice that when you drag the horizontal CridSplitter to the upper side the image of Tortoise at the upper part of the horizontal line becomes smaller and vice versa. Summary In this chapter you learned about Silverlight and its use The scenarios where Silverlight can be used The features of Silverlight 2.0 The architecture and components of Silverlight 2.0 Developing a website by using Silverlight In the next chapter you learn about the features of WPF 3.5 XAML browser applications and typography in WPF. 238 Chapter 13 Windows Presentation Foundation After adding he preceding code he design view of he application appears as shown in Fig.ASP-13.2 6. Addthc following line of code in Pagel .xaml.vb in the click event of the button. Buttonl.content clicked In the preceding code you can see the difference in he properties of Windows applications and WPF browser applications such as here you are using the Content properly of button .