Gallery.ItemCaptionMargin Property

Gets or sets the outer indents of a gallery item’s caption. This is a dependency property.

Namespace: DevExpress.Xpf.Bars

Assembly: DevExpress.Xpf.Core.v21.2.dll


public Thickness? ItemCaptionMargin { get; set; }

Property Value

Type Description

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


If the ItemCaptionMargin property is set to null, default indents are used. When a gallery is used within a GalleryControl, the default indents for captions are specified GalleryControl.DefaultItemCaptionMargin property.

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