In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces the Xamarin XAML language in the basic page ContentPage occupation area of the content page how to add, has a certain reference value, interested friends can refer to, I hope you can learn a lot after reading this article, the following let Xiaobian with you to understand.
The addition of content pages in the ContentPage occupied area of the basic pages of Xamarin XAML language tutorials
To make it easy for users to add ContentPage-like pages, both VS (Visual Studio) and XS (Xamarin Studio) provide special commands.
In the project created by VS, right-click the * (portable) project and select the name "add (D) | New item (w)" in the pop-up shortcut menu, which will pop up the "add New item" dialog box and select the Cross-Platform option. At this point, we will see two options for creating a ContentPage, one for Forms Page and the other for Forms Xaml Page, as shown in figure 14.4.
Figure 14.4 add New item dialog box
In the project created by XS, right-click the project name under the project name, and select Add from the pop-up shortcut menu | New File... Command, the New File dialog box pops up, and we will see two options for creating ContentPage, one for Forms Page and the other for Forms Xaml Page, as shown in figure 14.5.
Figure 14.5 New File dialog box
Note: (1) the ContentPage class created using Forms Page is a code file, while the ContentPage class created by Forms Xaml Page is a XAML file. (2) the code in the .xaml file created in VS and XS using the Forms Xaml Page option is different. The code created in VS is as follows:
The code created in XS is as follows:
Thank you for reading this article carefully. I hope the article "how to add the ContentPage occupied area of basic pages in Xamarin XAML language" shared by the editor will be helpful to everyone. At the same time, I also hope you will support us and pay attention to the industry information channel. More related knowledge is waiting for you to learn!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.