Xamlly is a controls library for Xamarin.Forms, written entirely in XAML (or declarative code). It aims to provide good looking controls, without having to write custom renderers.
Currentlly, the library has these controls:
Include the namespace in the XAML file:
xmlns:xamlly="clr-namespace:Xamlly.XamllyControls;assembly=Xamlly"
<xamlly:ProgressBar Progress=".3" ProgressColor="CadetBlue" OutlineColor="Black"
ProgressTextColor="White"
BackgroundColor="Black"
CornerRadius="10"
Padding="5"/>
<xamlly:Switch CornerRadius="10" ButtonWidth="30" HorizontalOptions="Center"
OnColor="Red"
OffText="No" OnText="Yes"/>
<xamlly:ToggleButton Text="ON" SelectedColor="White" UnselectedColor="Gray" BackgroundColor="Black" HorizontalOptions="CenterAndExpand"/>
<xamlly:TogglesBar IsMultiSelect="False" ItemsSource="{Binding Options}" DisplayMemberPath="Name" SelectedColor="White" UnselectedColor="Gray" BackgroundColor="Black" HorizontalOptions="Fill"/>
<xamlly:RadioButtonsGroup ItemsSource="{Binding Options}" DisplayMemberPath="Name" SelectedValuePath="ID"
SelectedIndex="2" OnSelectionChanged="rbg_OnSelectionChanged" RadioButtonColor="White"
TextColor="White"/>
I didn't test on Mac (I don't have one currently), so controls might have some issues on iOS, so please test it on iOS before using in production code. I will remove this note once I test on Mac.
Install-Package Xamlly -Version 1.0.2
In the .NET standard project only.