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

Declaration

public bool ItemAutoHeight { get; set; }
Public Property ItemAutoHeight As Boolean

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