Skip to main content
Bar

Gallery.ItemAutoWidth Property

Gets or sets whether gallery item widths are automatically modified so that the total gallery items' width matches the Gallery's width.

Namespace: DevExpress.Xpf.Bars

Assembly: DevExpress.Xpf.Core.v14.2.dll

#Declaration

public bool ItemAutoWidth { get; set; }

#Property Value

Type Description
Boolean

true if the gallery items' auto width feature is enabled; otherwise, false.

#Remarks

If a gallery's width is fixed, take note of the following.

When the gallery items' auto width feature is enabled, the average gallery item width is calculated:

See Also