Using Xamarin.Forms over the last few months has made me realise that quite often, the standard controls just don’t cut it, so I’ve decided to make some of the controls I have created available on Github & Nuget. The first one I’m adding is TimberLabel, a custom Xamarin.Forms.Label that adds support for padding, rounded corners and, borders on iOS and Android.

How to use


Available on NuGet! Install-Package TimberControls.TimberLabel



Either install the Nuget package or download/clone the repository and add the projects from the src folder into the appropriate projects within your solution as references, then use the control in XAML as below, or from C# in your code-behind file (See the example project for a demo):

Special Note for iOS:

Make sure to add [assembly: Preserve( typeof( TimberLabelRenderer ), AllMembers = true )] within your iOS AppDelegate.cs to avoid the renderer being linked out.

Additional properties

CornerRadiusintSets the corner radius of the label
BorderWidthintSets the width of the border for the label
BorderColourColorSets the colour of the border for the label
PaddingThicknessSets the padding for the label



Chris Howarth

Leave a Reply

Your email address will not be published. Required fields are marked *