2016-05-12 07:09:06 +03:00
|
|
|
|
using System;
|
|
|
|
|
using Xamarin.Forms;
|
|
|
|
|
|
|
|
|
|
namespace Bit.App.Controls
|
|
|
|
|
{
|
|
|
|
|
public class ExtendedTableView : TableView
|
|
|
|
|
{
|
2016-05-13 04:30:02 +03:00
|
|
|
|
public static readonly BindableProperty EnableScrollingProperty =
|
|
|
|
|
BindableProperty.Create(nameof(EnableScrolling), typeof(bool), typeof(ExtendedTableView), true);
|
|
|
|
|
|
|
|
|
|
public static readonly BindableProperty EnableSelectionProperty =
|
|
|
|
|
BindableProperty.Create(nameof(EnableSelection), typeof(bool), typeof(ExtendedTableView), true);
|
|
|
|
|
|
|
|
|
|
public bool EnableScrolling
|
|
|
|
|
{
|
|
|
|
|
get { return (bool)GetValue(EnableScrollingProperty); }
|
|
|
|
|
set { SetValue(EnableScrollingProperty, value); }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public bool EnableSelection
|
|
|
|
|
{
|
|
|
|
|
get { return (bool)GetValue(EnableSelectionProperty); }
|
|
|
|
|
set { SetValue(EnableSelectionProperty, value); }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public int EstimatedRowHeight { get; set; }
|
2016-05-12 07:09:06 +03:00
|
|
|
|
}
|
|
|
|
|
}
|