mirror of
https://github.com/bitwarden/android.git
synced 2024-11-01 15:45:42 +03:00
26 lines
877 B
C#
26 lines
877 B
C#
using System;
|
|
using Xamarin.Forms;
|
|
|
|
namespace Bit.App.Controls
|
|
{
|
|
public class ExtendedViewCell : ViewCell
|
|
{
|
|
public static readonly BindableProperty BackgroundColorProperty =
|
|
BindableProperty.Create(nameof(BackgroundColor), typeof(Color), typeof(ExtendedTextCell), Color.White);
|
|
|
|
public static readonly BindableProperty ShowDisclousureProperty =
|
|
BindableProperty.Create(nameof(ShowDisclousure), typeof(bool), typeof(ExtendedTextCell), false);
|
|
|
|
public Color BackgroundColor
|
|
{
|
|
get { return (Color)GetValue(BackgroundColorProperty); }
|
|
set { SetValue(BackgroundColorProperty, value); }
|
|
}
|
|
|
|
public bool ShowDisclousure
|
|
{
|
|
get { return (bool)GetValue(ShowDisclousureProperty); }
|
|
set { SetValue(ShowDisclousureProperty, value); }
|
|
}
|
|
}
|
|
}
|