TcxGridIndicatorViewInfo.Count Property
Returns the number of indicator items including the header and footer.
#Declaration
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 toFalse
), 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.