EnsureVisible() public method

Ensures that the Cell at the specified CellPos is visible within the Table, scrolling the contents of the Table if necessary
public EnsureVisible ( XPTable.Models.CellPos cellPos ) : bool
cellPos XPTable.Models.CellPos A CellPos that contains the zero-based index /// of the row and column to scroll into view
return bool
Ejemplo n.º 1
0
        void previius()
        {
            CellPos cell = new CellPos((int)numericUpDown1.Value, 0);

            table.TableModel.Selections.AddCell(cell);
            table.EnsureVisible(cell);
        }