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


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