Back to Devexpress

TileViewItemOptions.ItemPadding Property

windowsforms-devexpress-dot-xtragrid-dot-views-dot-tile-dot-tileviewitemoptions-2525b708.md

latest2.0 KB
Original Source

TileViewItemOptions.ItemPadding Property

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

Namespace : DevExpress.XtraGrid.Views.Tile

Assembly : DevExpress.XtraGrid.v25.2.dll

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

Declaration

csharp
[XtraSerializableProperty]
public Padding ItemPadding { get; set; }
vb
<XtraSerializableProperty>
Public Property ItemPadding As Padding

Property Value

TypeDescription
Padding

A Padding structure that is the tile padding.

|

Property Paths

You can access this nested property as listed below:

Object TypePath 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

TileViewItemOptions Class

TileViewItemOptions Members

DevExpress.XtraGrid.Views.Tile Namespace