Skip to main content
All docs
V25.1
  • TdxChartVisualElementAppearance.Padding Property

    Specifies visual element paddings, in pixels.

    Declaration

    property Padding: TcxMargin read; write;

    Property Value

    Type Description
    TcxMargin

    Stores pixel paddings of a visual element.

    Remarks

    Use Margins and Padding properties to adjust visual element margins and paddings, respectively.

    Padding.Left, Padding.Top, Padding.Right, and Padding.Bottom properties allow you to customize individual visual element paddings. Alternatively, you can use the Padding.All property to adjust all paddings simultaneously.

    Refer to the TcxMargin class description for detailed information on all available options.

    Paddings and Scaling

    Padding.Left, Padding.Top, Padding.Right, and Padding.Bottom properties specify the base visual element paddings (in pixels) that correspond to 96 DPI. The Chart control’s draw routines multiply these property values by the current scale factor and round the result to the nearest integer to calculate actual paddings on the target screen.

    Default Values

    Different visual elements in the Chart control define different default paddings.

    See Also