Back to Devexpress

Gallery.ItemAutoHeight Property

wpf-devexpress-dot-xpf-dot-bars-dot-gallery-83c81092.md

latest1.6 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Wpf.Core

Declaration

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

Property Value

TypeDescription
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.

See Also

ItemAutoWidth

Gallery Class

Gallery Members

DevExpress.Xpf.Bars Namespace