Skip to main content

TileViewItemOptions.ItemBorderVisibility Property

Gets or sets the tile border visibility mode applied to all tiles within this TileView.

Namespace: DevExpress.XtraGrid.Views.Tile

Assembly: DevExpress.XtraGrid.v24.1.dll

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

Declaration

[DefaultValue(TileItemBorderVisibility.Auto)]
[XtraSerializableProperty]
public TileItemBorderVisibility ItemBorderVisibility { get; set; }

Property Value

Type Default Description
DevExpress.XtraEditors.TileItemBorderVisibility Auto

A DevExpress.XtraEditors.TileItemBorderVisibility enumerator value that is the tile border visibility mode applied to all tiles within this TileView.

Property Paths

You can access this nested property as listed below:

Object Type Path to ItemBorderVisibility
TileView
.OptionsTiles .ItemBorderVisibility

Remarks

TileViewItemOptions provides the AppearanceObject.BorderColor property, accessible through its TileView.Appearance. Using this property you can set a tile border color, different to the background color of the tile itself. The ItemBorderVisibility property allows you to completely hide these borders. The property accepts the following values:

  • ItemBorderVisibility.Always - tile borders are always visible and painted using the custom AppearanceObject.BorderColor.
  • ItemBorderVisibility.Never - tile borders are always painted with the transparent color.
  • ItemBorderVisibility.Auto - tile borders are painted with the transparency for all tiles which have a custom BaseTile.BackgroundImage property value. Tiles without background images display their borders as usual. This is the default behavior.
See Also