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 at |
Remarks
Use the HeaderPadding
property to adjust Left, Top, Right, and Bottom paddings for each header in all container controls.
Note
All padding adjustments are specified at 96
DPI. Affected controls scale adjustments according to the current DPI.
Code Example
Each container control has default header padding dimensions that you can adjust.
The following code example adds 5
pixels to all header padding dimensions:
To reset cell padding adjustments, you can assign the TdxPadding.Null class property value to the HeaderPadding
property.
Tip
If you need to reset all global visual adjustments, call the Reset procedure.
Default Value
The HeaderPadding
property’s default value is TdxPadding.Null.