Xamarin.Forms exploration--using xamarin.forms to create a cross-platform user interface

Source: Internet
Author: User

Xamarin.Forms is a cross-platform, native control-based UI toolkit that allows developers to easily create user interfaces for Android,ios and Windows phone. Unlike HTML 5, Xamarin.Forms uses the platform's native controls to render the user interface, and the Xamarin.Forms app looks exactly the same as the platform. The biggest features of Xamarin.Forms are: once written, used everywhere, native presentation, which is also the most attractive place for me, is a simple example:

Next we have a series of articles that describe how to use xamarin.form for cross-platform application development, as follows:

1. Getting Started with Xamarin.Forms

Describes what is xamarin.forms, and some of the core concepts in xamarin.forms, including views, layouts, data binding, interface navigation, and more.

2. Xamarin.Forms Common Controls Introduction

Describes some of the main controls contained in the Xamarin.Forms framework, such as pagination controls, views, cells, and other layout controls.

3. Manipulate pictures, fonts and files using Xamarin.Forms

Describes how to use images in xamarin.forms, set fonts, colors, manipulate files, and more.

4. Develop custom controls to change styles

Describes how developers can change the presentation of controls by customizing controls, and also write specific presentations for each platform.

5. How to perform native platform operation via Dependencyservice

Xamarin.Forms Dependencyservice provides a simple way for developers to encapsulate native operations of each platform uniformly, and upper-level callers can use these native operations without distinction.

6. How to publish and subscribe to messages

Xamarin.Forms Messagingcenter makes it possible to interact with messages between view models, or between view models and other components, without needing to know the details of each other, only to follow a simple message protocol.

7. How to get into the app localization

Fully consistent with the. NET program, Xamarin.Forms also supports multi-lingual localization through RESX files.

8. How to perform automated testing

Xamarin provides a Xamarin.Forms UI testing framework that lets you test your UI on hundreds of devices with the Xamarin test cloud platform.

9. How to define the Xamarin.Forms interface using XAML

Xamarin.Forms allows developers to define and build the user interface through XAML, XAML is not required in xamarin.forms, but building a UI interface through XAML is more concise, more visual, more appropriate for the application architecture of MVVM, and can be used in XAML with views Model for data binding.

Original address: Xamarin.forms--cross-platform User Interfaces with Xamarin.Forms

Xamarin.Forms Exploration--using xamarin.forms to create a cross-platform user interface

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.