Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxGridIndicatorViewInfo.Count Property

Returns the number of indicator items including the header and footer.

#Declaration

Delphi
property Count: Integer read;

#Property Value

Type
Integer

#Remarks

Use this property to obtain the indicator items count including the header and footer.

The indicator ViewInfo has an Items property that accesses all row indicator ViewInfos including footer and header indicator ViewInfos.

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 a header indicator 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