Skip to main content
Bar

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.v24.2.dll

NuGet Package: DevExpress.Wpf.Core

#Declaration

public Thickness? DefaultItemCaptionMargin { get; set; }

#Property Value

Type Description
Nullable<Thickness>

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

#Remarks

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