Skip to main content
Bar

Gallery.ItemMargin Property

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

Namespace: DevExpress.Xpf.Bars

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

NuGet Package: DevExpress.Wpf.Core

Declaration

public Thickness? ItemMargin { get; set; }

Property Value

Type Description
Nullable<Thickness>

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

Remarks

If the ItemMargin property is set to null, default indents are used. When a gallery is used within a GalleryControl, the default indents are specified (GalleryControl.DefaultItemMargin property).

See Also