Bar

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.v20.1.dll

Declaration

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

Property Value

Type Description
Nullable<Thickness>

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

Remarks

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