BaseGallery.ItemAutoSizeMode Property
Gets or sets the auto-size mode of gallery items.
Namespace: DevExpress.XtraBars.Ribbon.Gallery
Assembly: DevExpress.XtraBars.v24.2.dll
NuGet Package: DevExpress.Win.Navigation
#Declaration
[DefaultValue(GalleryItemAutoSizeMode.Default)]
[DXCategory("Behavior")]
public GalleryItemAutoSizeMode ItemAutoSizeMode { get; set; }
#Property Value
Type | Default | Description |
---|---|---|
Gallery |
Default | The auto-size mode of gallery items. |
Available values:
Name | Description |
---|---|
Default | Auto size mode. The size of gallery items is calculated to fit their contents while taking into account the Base |
Vertical | Auto height mode.
The height of gallery items is automatically calculated to vertically fit an item’s contents while taking into account the Base |
None | Auto sizing is disabled. The size of gallery items is fixed and specified by the Base |
#Remarks
See the GalleryItemAutoSizeMode topic for information on available auto-size modes.