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

TdxVisualRefinements.Padding Property

Specifies the additional cell padding for container controls.

Declaration

class property Padding: TdxPadding read; write;

Property Value

Type Description
TdxPadding

Padding size adjustments.

Remarks

Use the Padding property to adjust the left, top, right, and bottom paddings for each cell 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 cell paddings that you can adjust.

The default cell padding

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

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

The custom cell padding

See Also