public void RowsInvalidateArrange()
 {
     if (RowsPanel != null)
     {
         RowsPanel.RowsInvalidateArrange();
     }
 }
 public void ColumnsChanged()
 {
     if (RowsPanel != null)
     {
         RowsPanel.ColumnsChanged();
     }
 }
        internal void BringIndexIntoView(int idx)
        {
            if (RowsPanel == null || idx < 0 || idx >= Items.Count)
            {
                return;
            }

            _focusedRowIndex = idx;
            if (!Select(_focusedRowIndex))
            {
                ItemContainerGenerator.StatusChanged += OnStatusChanged;
                RowsPanel.BringRowIntoView(_focusedRowIndex);
            }
        }
 protected void BringIndexIntoView(int idx)
 {
     if (RowsPanel != null && idx >= 0 && idx < this.Items.Count)
     {
         _focusedRowIndex = idx;
         var el = this.ItemContainerGenerator.ContainerFromIndex(_focusedRowIndex) as FrameworkElement;
         if (el == null)
         {
             this.ItemContainerGenerator.StatusChanged += OnStatusChanged;
             RowsPanel.BringRowIntoView(_focusedRowIndex);
         }
         else
         if (el != null)
         {
             el.Focus();
             el.BringIntoView();
         }
     }
 }
        private void BringIndexIntoView(int idx)
        {
            if (RowsPanel == null || idx < 0 || idx >= Items.Count)
            {
                return;
            }

            _focusedRowIndex = idx;
            var frameworkElement = ItemContainerGenerator.ContainerFromIndex(_focusedRowIndex) as FrameworkElement;

            if (frameworkElement == null)
            {
                ItemContainerGenerator.StatusChanged += OnStatusChanged;
                RowsPanel.BringRowIntoView(_focusedRowIndex);
            }
            else if (frameworkElement != null)
            {
                frameworkElement.Focus();
                frameworkElement.BringIntoView();
            }
        }
 public void BringIndexIntoView(int idx)
 {
     if (ParentTableView.SelectionMode != AyTableViewSelectionMode.NoSelect)
     {
         if (RowsPanel != null && idx >= 0 && idx < this.Items.Count)
         {
             _focusedRowIndex = idx;
             var el = this.ItemContainerGenerator.ContainerFromIndex(_focusedRowIndex) as FrameworkElement;
             if (el == null)
             {
                 this.ItemContainerGenerator.StatusChanged += OnStatusChanged;
                 RowsPanel.BringRowIntoView(_focusedRowIndex);
             }
             else
             if (el != null)
             {
                 el.Focus();
                 el.BringIntoView();
             }
         }
     }
 }