UWP (1)

UWP – Using an Acrylic Brush in your Xamarin Forms MasterDetail menu

Right, so you are one of those guys targeting UWP with their Xamarin Forms app… aand you want to use the new Acrylic brush to make you application stand out. Say no more.

Gazeta Acrylic menu on UWP

We won’t be using any 3rd party library/package to do this and we’ll be working in the platform specific project; so open up your MainPage.xaml.cs found inside your UWP project. First thing we need to do is grab a reference to your MasterDetail Master page. In my case, the MasterDetail represents my MainPage so things are pretty straight forward.

var masterPage = (app.MainPage as Xamarin.Forms.MasterDetailPage).Master;