Back to Devexpress

TcxGridColumnHeaderViewInfo Class

vcl-cxgridtableview-7313b669.md

latest2.1 KB
Original Source

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:

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.

Inheritance

TObject TPersistent TcxOwnedPersistent TcxOwnedInterfacedPersistent TcxCustomGridCellViewInfo TcxCustomGridViewCellViewInfo TcxGridColumnHeaderViewInfo

See Also

TcxGridColumnHeaderViewInfo Members

cxGridTableView Unit