Back to Devexpress

Gallery.ItemCaptionMargin Property

wpf-devexpress-dot-xpf-dot-bars-dot-gallery-e539848c.md

latest2.0 KB
Original Source

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

NuGet Package : DevExpress.Wpf.Core

Declaration

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

Property Value

TypeDescription
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

IsItemCaptionVisible

Caption

DefaultItemCaptionMargin

Gallery Class

Gallery Members

DevExpress.Xpf.Bars Namespace