V4 V5

ReoGrid’s visual appearance and behavior can be extensively customized. This section covers theming, keyboard shortcuts, localization, and built-in UI components.

Quick Reference

// Change grid appearance colors
var style = grid.ControlStyle;
style[ControlAppearanceColors.GridBackground] = Color.White;
style[ControlAppearanceColors.SelectionBorder] = Color.Blue;

// Customize keyboard shortcuts
sheet.BeforeCellKeyDown += (s, e) =>
{
    if (e.KeyCode == (KeyCode.Control | KeyCode.Shift | KeyCode.C))
    {
        /* custom action */
        e.IsCancelled = true;
    }
};

// Change built-in UI text
LanguageResource.Menu_InsertSheet = "Insert Worksheet";

In This Section

Was this article helpful?