2016-05-10 06:25:37 +03:00
|
|
|
|
using System;
|
|
|
|
|
using Xamarin.Forms;
|
|
|
|
|
|
|
|
|
|
namespace Bit.App.Controls
|
|
|
|
|
{
|
|
|
|
|
public class ExtendedTabbedPage : TabbedPage
|
|
|
|
|
{
|
2016-06-28 02:53:31 +03:00
|
|
|
|
public ExtendedTabbedPage()
|
|
|
|
|
{
|
|
|
|
|
BackgroundColor = Color.FromHex("efeff4");
|
|
|
|
|
}
|
|
|
|
|
|
2016-05-10 06:25:37 +03:00
|
|
|
|
public static readonly BindableProperty TintColorProperty =
|
|
|
|
|
BindableProperty.Create(nameof(TintColor), typeof(Color), typeof(ExtendedTabbedPage), Color.White);
|
|
|
|
|
|
|
|
|
|
public static readonly BindableProperty BarTintColorProperty =
|
|
|
|
|
BindableProperty.Create(nameof(BarTintColor), typeof(Color), typeof(ExtendedTabbedPage), Color.White);
|
|
|
|
|
|
|
|
|
|
public Color TintColor
|
|
|
|
|
{
|
|
|
|
|
get { return (Color)GetValue(TintColorProperty); }
|
|
|
|
|
set { SetValue(TintColorProperty, value); }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public Color BarTintColor
|
|
|
|
|
{
|
|
|
|
|
get { return (Color)GetValue(BarTintColorProperty); }
|
|
|
|
|
set { SetValue(BarTintColorProperty, value); }
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|