Basic Library for WPF and Silverlight | ComponentOne
C1.Silverlight 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
    protected virtual bool ShouldEnterEditModeOnKeyDown( 
       Key key
    )

    Parameters

    key
    Key that was pressed.

    Return Value

    True if the control has enter edit mode.
    See Also