Skip to main content

TcxGridColumnHeaderViewInfo Class

Stores ViewInfo information required to draw column headers.

Declaration

TcxGridColumnHeaderViewInfo = class(
    TcxCustomGridViewCellViewInfo
)

Remarks

This contains properties on the state, location and size of a column header.

To get the column header’s state, you should reference the following properties:

IsFixed
Indicates if the header is fixed.
IsPressed
Indicates whether the header is pressed.

The following properties help you determine the actual and permitted dimensions of the header:

MaxWidth
Contains the maximum permitted width of the header.
MinWidth
Contains the minimum permitted width of the header.
RealWidth
Contains the real header width.

Location and size information (such as the width or bounding rectangle) are provided by the TcxCustomGridCellViewInfo properties.

A TcxGridColumnHeaderViewInfo object is passed as the AViewInfo parameter into TcxGridTableView.OnCustomDrawColumnHeader and TcxGridColumn.OnCustomDrawHeader event handlers.

See Also