[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Total width in pixels for the text and image on the header section.
Source position: comctrls.pp line 3993
published property THeaderSection.Width : Integer |
Width is an Integer property with the number of pixels allocated for the text and image on the header section. It does not indicate the actual width of the content - only the size allocated for its display.
The Width property always returns 0 (zero) when Visible is set to False.
Setting a new value for the property causes it to be range-limited to the values in MinWidth and MaxWidth. The item is updated in its collection when Width has been changed.
The value in the property may be automatically scaled for high DPI displays in the DoAutoAdjustLayout and ChangeScale methods for the header control.
Width is updated at design-time when the divider between adjacent header sections is dragged.
Use MinWidth and MaxWidth to specify the smallest and largest sizes allowed for the header section.
|
Maximum width in pixels allowed for the header section. |
|
|
Minimum width in pixels allowed for the header section. |
|
|
The text displayed on the header section. |
|
|
Ordinal position for the image displayed for the header section. |
|
|
Paints the specified header section to the Canvas for the control. |
|
|
Sections - the short segments of the header separated by vertical bars that function as the elementary selection units of the header. |
|
|
Scales the width of the header sections in the control using the specified multiplier and divisor. |
|
|
Applies an automatic layout policy to the control using the specified scaling factors. |
Version 4.0 | Generated 2025-05-03 | Home |