Vcl.ComCtrls.THeaderSection.Style

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Style: THeaderSectionStyle read FStyle write SetStyle default hsText;

C++

__property THeaderSectionStyle Style = {read=FStyle, write=SetStyle, default=0};

Properties

Type Visibility Source Unit Parent
property published
Vcl.ComCtrls.pas
Vcl.ComCtrls.hpp
Vcl.ComCtrls THeaderSection

Description

Determines how the header section's text is displayed.

If Style is set to hsText (the default), the string contained in the Text property is displayed in the header section, using the alignment specified by Alignment. The font is determined by the header control's Font property. A graphic image can appear beside the text if the ImageIndex property is set.

If Style is set to hsOwnerDraw, the content displayed in the header section is drawn at run time on the header control's canvas by code in an OnDrawSection event handler.

See Also

Code Examples