Skip to main content

TileViewItemOptions.ItemPadding Property

Gets or sets the padding for all tiles within the TileView.

Namespace: DevExpress.XtraGrid.Views.Tile

Assembly: DevExpress.XtraGrid.v23.2.dll

NuGet Packages: DevExpress.Win.Grid, DevExpress.Win.Navigation

Declaration

[XtraSerializableProperty]
public Padding ItemPadding { get; set; }

Property Value

Type Description
Padding

A Padding structure that is the tile padding.

Property Paths

You can access this nested property as listed below:

Object Type Path to ItemPadding
TileView
.OptionsTiles .ItemPadding

Remarks

The ItemPadding property allows you to set the distance between tile edges and tile content. The default padding equals 12, 8, 12, 8 and can be retrieved using the static TileViewItemOptions.DefaultItemPadding property.

See Also