Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

Paddings Class

Contains padding settings.

#Declaration

TypeScript
export class Paddings implements IPaddings

#Implements

IPaddings

#constructor(top, right, bottom, left)

Initializes a new instance of the Paddings class with specified settings.

#Declaration

TypeScript
constructor(
    top: number,
    right: number,
    bottom: number,
    left: number
)

#Parameters

Name Type Description
top number

The padding for the top page edge.

right number

The padding for the right page edge.

bottom number

The padding for the bottom page edge.

left number

The padding for the left page edge.

#Properties

#bottom Property

Specifies the padding for the bottom page edge.

#Declaration

TypeScript
bottom: number

#Property Value

Type Description
number

The padding value in pixels.

#left Property

Specifies the padding for the left page edge.

#Declaration

TypeScript
left: number

#Property Value

Type Description
number

The padding value in pixels.

#right Property

Specifies the padding for the right page edge.

#Declaration

TypeScript
right: number

#Property Value

Type Description
number

The padding value in pixels.

#top Property

Specifies the padding for the top page edge.

#Declaration

TypeScript
top: number

#Property Value

Type Description
number

The padding value in pixels.