Property List (Grid) Control

Fully implemented BCGControlBar Pro (MFC)

Not available BCGSuite (MFC)

Partially implemented BCGControlBar for .NET

It implements the functionality of a list control that displays a hierarchical list of editable properties.

Each property can represent various data types and it may contain sub-items. It's possible to enable a resizable description area at the bottom of the property list control to display a description for selected properties. You can drag the vertical splitter (or use keyboard) to adjust the width of columns.

Optionally, a developer can add command link(s) to the property grid "Commands" area.

The following data types are supported by control:

  • String
  • Numeric (with the spin button support)
  • Real
  • List of options (combo box)
  • Boolean (TRUE/FALSE list, check box or switch)
  • Color
  • File/directory
  • Font
  • Date/Time
  • Brush
  • Line style
  • Text format
  • Bitwise (flags)

In addition, developer can support own data type by deriving a new class from CBCGPProp and by overriding a relevant methods such as FormatProperty or OnEdit

The control appearance can be fully customized: by default, the control can be displayed in classic or Visual Studio mode. Also developers can apply their own set of colors to the control.

The properties can be exported to XML/imported from XML using our property manager.

Property List (Grid) Control

Sample code:

CBCGPPropList m_wndPropList;
CBCGPProp* pGroup1 = new CBCGPProp(_T("Group"));

pGroup1->AddSubItem(new CBCGPProp(
	_T("Item 1"), 

pGroup1->AddSubItem(new CBCGPProp(
	_T("Item 2"),