protected override void OnElementPropertyChanged(PropertyChangedEventArgs args)
        {
            string propertyName = ListViewSorting.IsSortableProperty.PropertyName;

            if (args.PropertyName == propertyName)
            {
                TableView.SetEditing(
                    ListViewSorting.GetIsSortable(Element),
                    animated: true);
            }
        }
        protected override void OnAttached()
        {
            if (TableView != null)
            {
                var isSortable = ListViewSorting.GetIsSortable(Element);

                TableView.Source = new ListSortableTableSource(
                    source: TableView.Source,
                    element: Element as ListView);

                TableView.SetEditing(isSortable, animated: true);
            }
        }