Forum Xamarin.Forms

Free Open Source Xamarin Forms UI Library

Xamarin Forms is an amazing set of libraries. Unfortunately, there is a bunch of functionality that is missing. Over time, I've collected bits and pieces of UI components that are necessary for building a modern app and added them to a common .NET Standard/PCL library that can be leveraged on all Xamarin platforms. I didn't write much of the code here, but I have spent a great deal of time making this code more simple, and using tools like Resharper and Code Analysis to improve the code quality as well as building samples of these components. I'm hoping to get others to contribute UI components that will be useful. I will accept all pull requests as long as they add functionality that is missing from the Xamarin Forms components

  • DateTimePicker
  • Camera/Media
  • File Picking
  • Dynamic XAML Rendering
  • GeoLocator
  • WrapLayout

Clone for samples here:

Special thanks to @JamesMontemagno as much of the code comes from his original libraries. Unfortunately, those libraries are spread out across multiple repos and NuGet packages. This is good from the perspective that you don't need to add more to your solution than is necessary, so if you only need one component, I recommend looking at his repos. But, I have found that I just end up with dependency spaghetti which leads to all kinds of compilation and runtime errors when I have attempted to add these NuGet packages.


  • ClintStLaurentClintStLaurent USUniversity ✭✭✭✭✭

    My two cents worth... Screen shots would go a long way. What does the FilePicker look like? What does the DateTimePicker look like?

    And explanation of features... Can the WrapLayout specify direction to fill such as fill down then across, versus across then down? What is "Dynamic XAML Rendering? Does it let me specificy a colleciton of XAML paths that will be drawn at run-time just like had in WPF?

  • MelbourneDeveloperMelbourneDeveloper AUMember ✭✭✭
    edited July 2017

    @ClintStLaurent, fair point. I will put some screenshots, and descriptions in the wiki of the repo so that people can get an instant overview of what the components look like and do.

    Meantime, the easiest way to check out the library is to clone repo and run the samples. As long as you have the latest Xamarin updates and SDKs, you should be able to run them. I recommend looking at the UWP one first. It will only take a few minutes. Unlike other samples I've seen on the web, I've spent a great deal of time making sure these samples work (at least on UWP / Android). I've thoroughly tested with Git cleans etc. to make sure that there's no dependency issues.

    To answer your specific questions:

    • The FilePicker is based on the platform. It invokes whatever file picking mechanisms are built in to the OS. The same thing with the camera.
    • The WrapLayout just fills from left to right, and wraps to the next line like text wrapping
    • Dynamic XAML rendering allows you to render UI components dynamically from XAML just like you had in WPF. There is a sample in the sample app and you can see how it works clearly. This is simply a hidden feature in Xamarin Forms XAML that has been exposed through reflection.
  • jerryno6jerryno6 VNMember ✭✭

    Page not found, so sad :(

  • MelbourneDeveloperMelbourneDeveloper AUMember ✭✭✭
    edited March 2018

    Sorry, this repo has now been made private but I cannot delete the original post or edit it.

Sign In or Register to comment.