TcxCustomHeader.Sections Property
Provides access to the header’s collection of sections.
Declaration
property Sections: TcxHeaderSections read; write;
Property Value
Type |
---|
TcxHeaderSections |
Remarks
The Sections property provides access to the header’s sections collection. This collection is represented by the TcxHeaderSections object and each item within it is an instance of the TcxHeaderSection class. The following code demonstrates adding a section to the header control and setting that section up:
with cxHeader.Sections.Add do
begin
Text := 'First Section';
SortOrder := soAscending;
AllowClick := False;
end;
See Also