GalleryControl.DefaultItemCaptionMargin Property

Gets or sets the default outer indents of gallery items' captions. This is a dependency property.

Namespace: DevExpress.Xpf.Bars

Assembly: DevExpress.Xpf.Core.v20.1.dll


public Thickness? DefaultItemCaptionMargin { get; set; }
Public Property DefaultItemCaptionMargin As Thickness?

Property Value

Type Description

A value of the Nullable Thickness type that specifies the corresponding outer indents.


The DefaultItemCaptionMargin property is in effect if the Gallery.ItemCaptionMargin property is set to null.

A gallery item's caption is specified by the GalleryItem.Caption property. The caption's visibility is controlled by the Gallery.IsItemCaptionVisible property.

See Also