SourceGrid.GridVirtual.OnKeyDown C# (CSharp) Méthode

OnKeyDown() protected méthode

protected OnKeyDown ( KeyEventArgs e ) : void
e System.Windows.Forms.KeyEventArgs
Résultat void
        protected override void OnKeyDown(KeyEventArgs e)
        {
            base.OnKeyDown(e);

            if (Selection.ActivePosition.IsEmpty() == false)
            {
                Cells.ICellVirtual focusCell = GetCell(Selection.ActivePosition);
                if (focusCell != null)
                    Controller.OnKeyDown(new CellContext(this, Selection.ActivePosition, focusCell), e);
            }

            if (e.Handled == false)
                ProcessSpecialGridKey(e);
        }