Spread Windows Forms 13.0 Product Documentation
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / DialogKeyEventArgs Class / Alt Property
Example


In This Topic
    Alt Property
    In This Topic
    Gets whether the Alt key was pressed.
    Syntax
    'Declaration
     
    Public ReadOnly Property Alt As Boolean
    'Usage
     
    Dim instance As DialogKeyEventArgs
    Dim value As Boolean
     
    value = instance.Alt
    public bool Alt {get;}
    Example
    This example gets whether the Alt key is pressed.
    private void fpSpread1_DialogKey(object sender, FarPoint.Win.Spread.DialogKeyEventArgs e)
            {
                listBox1.Items.Add(e.Alt);
            }
    Private Sub fpSpread1_DialogKey(sender As Object, e As FarPoint.Win.Spread.DialogKeyEventArgs) Handles fpSpread1.DialogKey
            ListBox1.Items.Add(e.Alt)
        End Sub
    See Also