Xamarin.Forms User Interface
- PDF for offline use:
- Related Articles:
- Related Samples:
- Related APIs:
Let us know how you feel about this.
How to use the views provided by Xamarin.Forms.
Xamarin.Forms has several layouts for organizing on-screen content.
RelativeLayout can each be used to create beautiful, responsive user interfaces.
Xamarin.Forms provides a number of different page navigation experiences, depending upon the
Page type being used.
Font, color, and other attributes can be grouped into styles which can be shared across controls, layouts, or the entire application using ResourceDictionaries.
Xamarin.Forms provides a list view control to display scrolling rows of data. The control includes contextual actions,
HasUnevenRows automatic sizing, separator customization, pull-to-refresh, and headers and footers.
Adding maps requires an additional NuGet package download and some platform-specific configuration. Maps and pin markers can be added in just a few lines of code once the configuration is done.
The table view is similar to a list view, but rather than being designed for long lists of data it is intended for data-entry-style screens of scrolling controls or simple scrolling menus.
Xamarin.Forms uses the native web browser control on each platform, and can display websites, local resources, and generated Html strings.
Xamarin.Forms has several views for presenting and receiving text. Text views can be formatted and customized for platforms. Specific font settings can enable compatibility with accessibility features.
GestureRecognizer class supports tap, pinch, and pan gestures on user interface controls.
Xamarin.Forms includes its own animation infrastructure that's straightforward for creating simple animations, while also being versatile enough to create complex animations.
Native views from iOS, Android, and the Universal Windows Platform can be directly referenced from Xamarin.Forms XAML files. Properties and event handlers can be set on native views, and they can interact with Xamarin.Forms views.
Platform-specifics allow you to consume functionality that's only available on a specific platform, without requiring custom renderers or effects.