Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How big is the ContentPage occupation area of the basic page in Xamarin XAML?

2025-02-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/02 Report--

This article mainly introduces how much the basic page ContentPage occupies in Xamarin XAML, and has certain reference value. Interested friends can refer to it. I hope you will have a lot of gains after reading this article. Let Xiaobian take you to understand it together.

Basic Page ContentPage

In Xamarin.Forms, the interface for each App is a Page. There are many types of pages. Among them, the most common and basic page is the ContentPage page, also known as the content page. When developers create a project, it comes with a Content Page by default. This section will cover the content of content pages, including the footprint of content pages, additions to content pages, derivation relationships, and attributes.

Note: The default ContentPage page is actually a subclass of ContentPage.

1. footprint

The screen area occupied by the ContentPage page varies from platform to platform. In Android, the page does not occupy the status bar at the top of the screen, and if there is a button at the bottom of the Android screen, it does not occupy it, except for this, as shown in Figure 14.1. In iOS, it takes up the entire screen, including the status bar at the top, as shown in Figure 14.2. In Windows Phone, pages do not occupy the status bar at the top of the screen, but all other pages do, as shown in Figure 14.3.

Figure 14.1 Android operating effect 14.2 iOS operating effect 14.3 Windows Phone operating effect

Note: In Figures 14.1 - 14.3, we set a cyan background for the ContentPage page to make it more visual.

Thank you for reading this article carefully. I hope that Xiaobian will share the article "How big is the basic page ContentPage in Xamarin XAML?" This article is helpful to everyone. At the same time, I hope that everyone will support you a lot and pay attention to the industry information channel. More relevant 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.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report