☰ Brand

Persian Programmer

Persian Programmer ×
Home About Us Services and Pricing Contact Us My Resume Co-worker

Xamarin.Forms 4.8 – Gradients & Brushes, Drag & Drop, and More!

Xamarin.Forms 4.8 – Gradients & Brushes, Drag & Drop, and More!

Today marks the release of Xamarin.Forms 4.8. With a collection of features and quality improvements, Xamarin.Forms will give you even more opportunities to build colorful, interactive cross-platform applications. Let us take a dive into all of the new features coming to you in Xamarin.Forms!

Gradients and Brushes

Xamarin.Forms is releasing experimental support for Gradients and Brushes. Brush allows you to “paint” an area of your application with the brushes output, and different brushes have different types of output. There are three types of brushes: Solid Colors, Linear Gradients, and Radial Gradients.

Solid color brush allows you to paint an area with a solid color. Below, see an example of the XAML code used to create a solid gradient:

<Frame Background="DarkBlue"
       BorderColor="LightGray"
       HasShadow="True"
       CornerRadius="12"
       HeightRequest="120"
       WidthRequest="120"/>

Tags : Xamarin

0 comments

answer