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
- Control Appearance — Colors, gradients, and visual properties for all grid elements
- Sheet Tab Control — Customize the worksheet tab bar at the bottom
- Hot Keys — Built-in keyboard shortcuts
- Language Localization — Multi-language support for built-in UI text
- Formula Bar — The ReoGrid Editor’s formula bar for editing cell formulas
- ReoGridEditor — The standalone spreadsheet editor application built with ReoGrid