Completed
Last Updated: 14 Dec 2021 16:34 by ADMIN
Release LIB 2021.3.1220 (20 Dec 2021)
EuroEager2008
Created on: 13 Dec 2021 08:16
Category: Spreadsheet
Type: Bug Report
0
Spreadsheet: Fill right shortcut (Ctrl + R) does not work

Fill right shortcut (Ctrl + R) does not work 

As a workaround, manually register the combination:

public MainWindow()
{
    InitializeComponent();
    this.radSpreadsheet.ActiveSheetChanged += RadSpreadsheet_ActiveSheetChanged;
    
    this.Loaded += MainWindow_Loaded;
}

private void MainWindow_Loaded(object sender, RoutedEventArgs e)
{
    RegisterFillRight();
}

private void RadSpreadsheet_ActiveSheetChanged(object sender, EventArgs e)
{
    RegisterFillRight();
}
public void RegisterFillRight()
{
    RadWorksheetEditor worksheetEditor = this.radSpreadsheet.ActiveWorksheetEditor;

    if (this.radSpreadsheet.ActiveWorksheetEditor != null)
    {
        worksheetEditor.KeyBindings.RegisterCommand(worksheetEditor.Commands.FillRight, Key.R, ModifierKeys.Control);
    }
}

0 comments