Represents the base class for the GridControl themes.
public abstract class ThemeBase : Object
Public MustInherit Class ThemeBase Inherits Object
The ThemeBase class serves as a base for the LightTheme and DarkTheme classes. Use these classes to access the predefined grid themes (Light or Dark respectively) and customize their appearance. For more information on customizing grid themes, see the example below.
The ThemeBase class's properties provide access to different customizers, which you can adjust to change appearance settings (for example, font attributes, border and background colors, etc.) of the grid's corresponding visual elements (such as data cells, group rows, filter panel, etc.). In this example, the following customizers are used.
To apply the customization, call the ThemeManager.RefreshTheme method.
This example customizes the Light theme as it is shown in the image below.