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

TcxGridColumnHeaderViewInfo Class

Stores ViewInfo information required to draw column headers.

#Declaration

Delphi
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