SourceGrid.GridVirtual.ShowCell C# (CSharp) Method

ShowCell() public method

Scroll the view to show the cell passed. Ensure that if the cell if invisible or partial visible it will be totally visible
public ShowCell ( Position p_Position, bool ignorePartial ) : bool
p_Position Position
ignorePartial bool true to ignore and consider already visible partial visible cells
return bool
        public bool ShowCell(Position p_Position, bool ignorePartial)
        {
            Point l_newCustomScrollPosition;
            if (GetScrollPositionToShowCell(p_Position, ignorePartial, out l_newCustomScrollPosition))
            {
                CustomScrollPosition = l_newCustomScrollPosition;
                //il problema di refresh si verifica solo in caso di FixedRows e ColumnsCount maggiori di 0
                if (FixedRows > 0 || FixedColumns > 0)
                    Invalidate();

                return false;
            }
            return true;
        }