vcl-cxgridtableview-7313b669.md
Stores ViewInfo information required to draw column headers.
TcxGridColumnHeaderViewInfo = class(
TcxCustomGridViewCellViewInfo
)
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:
IsFixedIndicates if the header is fixed.IsPressedIndicates whether the header is pressed.
The following properties help you determine the actual and permitted dimensions of the header:
MaxWidthContains the maximum permitted width of the header.MinWidthContains the minimum permitted width of the header.RealWidthContains 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.
TObject TPersistent TcxOwnedPersistent TcxOwnedInterfacedPersistent TcxCustomGridCellViewInfo TcxCustomGridViewCellViewInfo TcxGridColumnHeaderViewInfo
See Also