1. 程式人生 > >視圖和布局

視圖和布局

移動 start tar user gpo cti view roi 運行時

有四個主要的控制組用於創建Xamarin.Forms應用程序的用戶界面

Pages

Xamarin.Forms頁面代表跨平臺的移動應用程序屏幕(更多信息,請參閱https://developer.xamarin.com/guides/xamarin-forms/controls/pages/)

A Page represents an Activity in Android, a View Controller in iOS, or a Page in the Windows Universal Platform (UWP). 

Page代表了Android的Activity,iOS的View Controller或者UWP的Page

Layouts

Xamarin.Forms布局是用於將視圖組合成邏輯結構的容器(更多信息,請參閱https://developer.xamarin.com/guides/xamarin-forms/user-interface/controls/layouts/)

Views

Xamarin.Forms視圖是用戶界面上顯示的控件,如標簽,按鈕和文本輸入框(更多信息,請參閱https://developer.xamarin.com/guides/xamarin-forms/user-interface/controls/views/)

Cells

Xamarin.Forms單元格是用於列表中項目的專用元素,並描述應該如何繪制列表中的每個項目(更多信息,請參閱https://developer.xamarin.com/guides/xamarin-forms/user-interface/controls/cells/)

在運行時,每個控件將被映射到它的本地等價物,這將被渲染

原文

https://developer.xamarin.com/guides/xamarin-forms/getting-started/introduction-to-xamarin-forms/#Views_and_Layouts

視圖和布局