Xamarin.Forms | ComponentOne
Controls / FlexGrid / Features / Clipboard and Keyboard Support
In This Topic
    Clipboard and Keyboard Support
    In This Topic

    FlexGrid comes with clipboard support to readily provide cut, copy and paste operations. The control also supports hardware keyboards by allowing navigation through arrow keys.

    The supported keystrokes and their purpose are listed alphabetically as follows:

    Keystroke Description/Purpose
    Ctrl+C Copies the selected text.
    Ctrl+X Cuts the selected text.
    Ctrl+V Pastes the copied text.
    F2 Enters the edit mode.
    Enter/Return Leaves the edit mode.
    Left Navigates cell selection towards the left.
    Right Navigates cell selection towards the right.
    Up Navigates the cell selection upward.
    Down Navigates the cell selection downward.
    Tab

    Navigates the cell selection to the next column and then wraps to the next row. To enable the Tab key action, you need to set the KeyActionTab property to Cycle. This property accepts value from GridTabAction enumeration.

    Shift+Left Expands column range towards the left or decreases column range based on the context. If range has already expanded to right, this will gradually decrease range selection down to one column. After this single column threshold is hit, it will then expand the selection to the left if it continues to be pressed after this.
    Shift+Right Expands column range towards the right or decreases column range based on the context. If range has already expanded to left, this will gradually decrease range selection down to one column. After this single column threshold is hit, it will then expand the selection to the right if it continues to be pressed after this.
    Shift+Up Expands row range upwards or decreases row range based on the context. If range has already expanded downwards, this will gradually decrease range selection to one row. After this single row threshold is hit, it will then expand the selection to the upwards if it continues to be pressed after this.
    Shift+Down Expands row range downwards or decreases row range based on the context. If range has already expanded upwards, this will gradually decrease range selection to one row. After this single row threshold is hit, it will then expand the selection to the downwards if it continues to be pressed after this.