BCGSoft > Products > Product feature tour

Product feature tour

Context | First | Prev | Next | Last
Fully implemented BCGControlBar Pro (MFC)
Fully implemented BCGSuite (MFC)
Fully implemented BCGControlBar (Microsoft .NET)

Grid Color Themes

The grid provides advanced support for item colorization. SetColorTheme method allows to define color/gradient attributes for each grid area such as odd/even rows, groups, header, selection and others. In addition, you can define color attributes of individual grid cells using CBCGPGridItem methods SetBackgroundColor and SetTextColor. This advanced technology allows to create state of the art grids in minutes! Please take a look at BCGPGridExample ("Custom Colors" tab) to see this technology in action.

In the Grid for .NET version we supply a Visual Style Editor, which allows to Save and Load visual themes.

Sample code:
CBCGPGridCtrl m_wndGrid;

// Create grid control:
m_wndGrid.Create (WS_CHILD | WS_VISIBLE, rect, this, ID_GRID);

// Set grid colors
CBCGPGridColors colors;
colors.m_EvenColors.m_clrBackground = RGB (200, 200, 200);

m_wndGrid.SetColorTheme (colors);
Prev  Next