I need to pass a boolean value to control template.
XAML:
<views:NavMasterContentPage
xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
ControlTemplate="{StaticResource StatusBarControlTemplate}">
</views:NavMasterContentPage>
StatusBarControlTemplate.CS:
public partial class StatusBarControl : StackLayout
{
}