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


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

Property Value

Type Description

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


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