What are Pages in Xamarin.Forms?
What are Pages in Xamarin.Forms?
In Xamarin.Forms, Pages are the primary building blocks for creating the user interface of a cross-platform mobile application. Each Page represents a screen in the application and can contain various UI elements and layouts. Pages in Xamarin.Forms derive from the Page class and are designed to occupy most or all of the screen space. They are analogous to ViewController in iOS, Page in the Universal Windows Platform (UWP), and Activity in Android, although Xamarin.Forms Pages are not Activity objects on Android.
Xamarin.Forms supports several types of Pages, each serving different purposes and providing different navigation and layout capabilities:
ContentPage:
View object, which is often a layout such as StackLayout, Grid, or ScrollView.FlyoutPage (formerly known as MasterDetailPage):
Flyout property is typically set to a page showing a list or menu, while the Detail property shows the selected item from the flyout.IsPresented property controls whether the flyout or detail page is visible.Đăng nhập để tham gia thảo luận cùng mọi người.
Chưa có bình luận nào
Hãy là người đầu tiên chia sẻ suy nghĩ của bạn.