bitwarden-android/src/App/Controls/ExtendedTabbedPage.cs

32 lines
961 B
C#
Raw Normal View History

2016-05-10 06:25:37 +03:00
using System;
using Xamarin.Forms;
namespace Bit.App.Controls
{
public class ExtendedTabbedPage : TabbedPage
{
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); }
}
}
}