mirror of
https://github.com/bitwarden/mobile
synced 2026-01-04 09:33:16 +00:00
Extended controls
This commit is contained in:
26
src/App/Controls/ExtendedTabbedPage.cs
Normal file
26
src/App/Controls/ExtendedTabbedPage.cs
Normal file
@@ -0,0 +1,26 @@
|
||||
using System;
|
||||
using Xamarin.Forms;
|
||||
|
||||
namespace Bit.App.Controls
|
||||
{
|
||||
public class ExtendedTabbedPage : TabbedPage
|
||||
{
|
||||
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); }
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user