Spread Windows Forms 12.0 Product Documentation
KeyCode Property (DialogKeyEventArgs)
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > DialogKeyEventArgs Class : KeyCode Property
Gets the key code for the key the user pressed.
Syntax
'Declaration
 
Public ReadOnly Property KeyCode As Keys
'Usage
 
Dim instance As DialogKeyEventArgs
Dim value As Keys
 
value = instance.KeyCode
public Keys KeyCode {get;}
Example
This example uses the KeyCode property.
private void fpSpread1_DialogKey(object sender, FarPoint.Win.Spread.DialogKeyEventArgs e)
        {
            listBox1.Items.Add(e.KeyCode);
        }
Private Sub fpSpread1_DialogKey(sender As Object, e As FarPoint.Win.Spread.DialogKeyEventArgs) Handles fpSpread1.DialogKey
        ListBox1.Items.Add(e.KeyCode)
    End Sub
See Also

Reference

DialogKeyEventArgs Class
DialogKeyEventArgs Members