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



In This Topic
    ShouldEnterEditModeOnKeyDown Method (C1TextEditableContentControl)
    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 Overrides Function ShouldEnterEditModeOnKeyDown( _
       ByVal key As Key _
    ) As Boolean
    'Usage
     
    
    Dim instance As C1TextEditableContentControl
    Dim key As Key
    Dim value As Boolean
     
    value = instance.ShouldEnterEditModeOnKeyDown(key)
    protected override bool ShouldEnterEditModeOnKeyDown( 
       Key key
    )
    protected:
    bool ShouldEnterEditModeOnKeyDown( 
       Key key
    ) override 

    Parameters

    key
    Key that was pressed.

    Return Value

    True if the control has enter edit mode.
    See Also