HeaderPane
Main
Hide
Share Link
Print

Row Headers

Optional row headers are shown to the left of the item area, column headers and column footers. In a combo box, they are hidden until the RowHeadersClass.Width property is set to a width other than 0.

Row headers are cells that can contain parts, such as text, images, buttons, check boxes, radio buttons, progress bars, and more. An individual item's row header can be accessed using the ItemClass.RowHeader property. Row headers in the column header area are accessed using the HeadersClass.RowHeaders property. Row headers in the column footer area are accessed using the FootersClass.RowHeaders property.

The RowHeadersClass.ShowSelection property defines whether row headers reflect the item selection. After adding all items, the RowHeadersClass.MakeOptimal method can be used to size the row header area so that the contents of the row headers can be displayed without being clipped horizontally.

Row Numbers

The RowHeadersClass.Numbering property shows a number in each row header that has no contents of its own: the number of the row among the items shown (RowHeaderNumberingEnum.Rows), the position of the item among all items, including the dependents of collapsed items (RowHeaderNumberingEnum.Items), or its position among its siblings, preceded by the positions of its parent items, such as 1.2 (RowHeaderNumberingEnum.Outline). The numbers follow the items as they are added, removed, sorted, expanded and collapsed, and screen readers and tooltips report them.