Skip to main content
Bar

Gallery.ItemAutoHeight Property

Gets or sets whether the gallery items are stretched to fill the entire height of the Gallery. This property is in effect for galleries used in the RibbonGalleryBarItem.

Namespace: DevExpress.Xpf.Bars

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

NuGet Package: DevExpress.Wpf.Core

Declaration

public bool ItemAutoHeight { get; set; }

Property Value

Type Description
Boolean

true, if the gallery item auto height feature is enabled; otherwise, false.

Remarks

Use the ItemAutoHeight property to specify whether gallery items are stretched to fill the entire height of the Gallery. By default, this feature is disabled. The following images show the galleries with the item auto height feature disabled and enabled respectively.

Gallery_ItemAutoHeight

See Also