Back to Devexpress

SpreadsheetFormulaBar.KeyDown Event

windowsforms-devexpress-dot-xtraspreadsheet-dot-spreadsheetformulabar-69b1e81a.md

latest4.0 KB
Original Source

SpreadsheetFormulaBar.KeyDown Event

Occurs when a key is pressed while the SpreadsheetFormulaBar has focus.

Namespace : DevExpress.XtraSpreadsheet

Assembly : DevExpress.XtraSpreadsheet.v25.2.dll

NuGet Package : DevExpress.Win.Spreadsheet

Declaration

csharp
public event KeyEventHandler KeyDown
vb
Public Event KeyDown As KeyEventHandler

Event Data

The KeyDown event's data class is KeyEventArgs. The following properties provide information specific to this event:

PropertyDescription
AltGets a value indicating whether the ALT key was pressed.
ControlGets a value indicating whether the CTRL key was pressed.
HandledGets or sets a value indicating whether the event was handled.
KeyCodeGets the keyboard code for a KeyDown or KeyUp event.
KeyDataGets the key data for a KeyDown or KeyUp event.
KeyValueGets the keyboard value for a KeyDown or KeyUp event.
ModifiersGets the modifier flags for a KeyDown or KeyUp event. The flags indicate which combination of CTRL, SHIFT, and ALT keys was pressed.
ShiftGets a value indicating whether the SHIFT key was pressed.
SuppressKeyPressGets or sets a value indicating whether the key event should be passed on to the underlying control.

See Also

SpreadsheetFormulaBar Class

SpreadsheetFormulaBar Members

DevExpress.XtraSpreadsheet Namespace