Skip to main content

TcxGridIndicatorViewInfo Class

Stores ViewInfo information for the indicator of a grid View.

Declaration

TcxGridIndicatorViewInfo = class(
    TcxCustomGridViewCellViewInfo
)

Remarks

This class provides information used in the painting of indicators. This allows you to implement custom drawing of the grid indicator.

The indicator ViewInfo has an Items property that accesses the ViewInfos of all indicator rows including footer and header indicators. There are several conditions affecting the contents of the Items collection:

  • If a grid View has a header (the View’s OptionsView.Header property is set to True), the first item (with the zero index) refers to an indicator header item. The rest of the items refer to row indicator items.

  • If a grid View has a footer (the View’s OptionsView.Footer property is set to True) and has no header (the View’s OptionsView.Header property is set to False), the first item (with the zero index) refers to a footer indicator item. The rest of the items refer to row indicator items.

  • If a grid View has both a header and a footer (the View’s OptionsView.Footer and OptionsView.Header properties are set to True), the first item (with the zero index) refers to a header indicator item and the second – to a footer indicator item. The rest of the items refer to row indicator items.

  • If a grid View has neither header nor footer (the View’s OptionsView.Footer and OptionsView.Header properties are set to False), all items refer to row indicator items.

See Also