ComponentOne FinancialChart for WPF
C1.WPF Namespace / C1EditableContentControl Class / ShouldEnterEditModeOnKeyDown Method
Key that was pressed.



In This Topic
    ShouldEnterEditModeOnKeyDown Method (C1EditableContentControl)
    In This Topic
    Called to define if the control has to enter edit mode when a particular key is pressed. For example: arrow keys might not change to edit mode.
    Syntax
    'Declaration
     
    
    Protected Overridable Function ShouldEnterEditModeOnKeyDown( _
       ByVal key As Key _
    ) As Boolean
    'Usage
     
    
    Dim instance As C1EditableContentControl
    Dim key As Key
    Dim value As Boolean
     
    value = instance.ShouldEnterEditModeOnKeyDown(key)
    protected virtual bool ShouldEnterEditModeOnKeyDown( 
       Key key
    )
    protected:
    virtual bool ShouldEnterEditModeOnKeyDown( 
       Key key
    ) 

    Parameters

    key
    Key that was pressed.

    Return Value

    True if the control has enter edit mode.
    See Also