Example #1
0
        internal int IndexOfRow(TableViewCellsPresenter cp)
        {
            if (this.RowsPresenter != null)
            {
                return(this.RowsPresenter.ItemContainerGenerator.IndexFromContainer(cp));
            }

            return(-1);
        }
Example #2
0
 internal void FocusedRowChanged(TableViewCellsPresenter cp)
 {
     this.FocusedRowIndex  = this.IndexOfRow(cp);
     this.SelectedRowIndex = this.FocusedRowIndex;
 }
Example #3
0
        protected override DependencyObject GetContainerForItemOverride()
        {
            var container = new TableViewCellsPresenter();

            return(container);
        }