Xamarin Forms 3.0 Adds Visual State Manager
Xamarin Forms 3.0 Adds Visual State Manager
Written by Kay Ewbank   
Monday, 14 May 2018

There's a new version of Xamarin Forms with a Visual State Manager, Flex Layout, Style Sheets, and Right-to-Left support.

Xamarin gives developers a way to develop apps for iOS and Android using C#. It is based on Mono, the open source implementation of Microsoft's .NET Framework. The introduction of Xamarin.Forms in Xamarin 3 added the ability to build native UIs for iOS, Android and Windows Phone from a single, shared C# codebase. Xamarin.Forms provides cross-platform controls and layouts which are mapped to native controls at runtime, which means that your user interfaces are fully native. Xamarin developers have a choice of coding in Visual Studio, or in Xamarin Studio, which runs on Windows and Mac.

Visual State Manager has been available on other XAML platforms, and Microsoft has now added it to Xamarin.Forms 3.0. It lets you dynamically change your UI based what screen type is available to your app You can now define the various states for your layouts and controls declaratively in XAML or C# and update your UI.

Xamarin Layout Manager

The next improvement is the addition of a new layout, FlexLayout, which has been inspired by the web’s Flexbox. The reason for its addition is that the variety of screen dimensions that your Xamarin.Forms apps can run on has grown significantly. FlexLout gives you more control over how children are distributed and how your layouts adapt to various sizes and dimensions. The developers asy it also promotes a flatter UI hierarchy.

Support for Cascading Style Sheets (CSS) has also been added to the new version to provide a complimentary way to express Styles together with XAML Style. StyleSheets can be added as separate CSS files in your project, or inline in your Resources. A variety of common selectors are available to compose your styles.

Xamarin.Forms developers using Visual Studio 2017 version 15.7 will also be able to make much better use of IntelliSense, as the Xamarin.Forms version is now powered by the same IntelliSense engine as that in WPF and UWP. The improvements this offers include improved matching, binding/commanding completion, resource completion, markup extension completion. The engine also enhanced light bulb suggestions, code navigation, and linting.


More Information

Xamarin.Forms on NuGet

Related Articles

App Monitoring For Xamarin

Xamarin 3 Released

Xamarin Platform Previews

Xamarin Mac Updates

Xamarin Now Free - Does This Change Everything Or Nothing?

Astoria Cancellation Confirmed - Devs Advised To Try Xamarin 

Microsoft Buys Xamarin - About Time Too 

App Monitoring For Xamarin 

Xamarin Test Cloud
Xamarin Designer for Android 

Microsoft And Xamarin Collaborate To Bring Native iOS and Android To Visual Studio

Is Microsoft Going To Revitalise .NET With Xamarin Acquisition?


To be informed about new articles on I Programmer, sign up for our weekly newsletter, subscribe to the RSS feed and follow us on, Twitter, FacebookGoogle+ or Linkedin.


Grasshopper - An Area 120 App To Teach Coding

Google's in-house incubator, Area 120, has launched a free, learn-to-code app for adult beginners. It teaches JavaScript through short lessons on users iPhone or Android device.

Top AI Researchers Rebel Against Nature

It's a good headline, but the truth is that more than 2000 people working in AI have decided to boycott Nature's new paid for journal on AI. This is an important step, but there are some missing names [ ... ]

More News





or email your comment to: comments@i-programmer.info

Last Updated ( Monday, 14 May 2018 )

RSS feed of news items only
I Programmer News
Copyright © 2018 i-programmer.info. All Rights Reserved.
Joomla! is Free Software released under the GNU/GPL License.