Skip to main content
A newer version of this page is available. .

TdxVisualRefinements.HeaderPadding Property

Specifies the header padding adjustments for container controls.

Declaration

class property HeaderPadding: TdxPadding read; write;

Property Value

Type Description
TdxPadding

Padding size adjustments.

Remarks

Use the HeaderPadding property to adjust the left, top, right, and bottom paddings for each header in all container controls.

Note

The specified padding adjustments correspond to the system DPI equal to 96. Container controls scale the adjustments according to the current DPI.

Example

Each container control has default header padding dimensions that you can adjust.

The default header padding

The following code example adds 5 pixels to all header padding dimensions:

TdxVisualRefinements.HeaderPadding := Rect(5, 5, 5, 5);

The custom header padding

See Also