BaseGallery.UseMaxImageSize Property
Gets or sets whether gallery item images have the same display size as the biggest image.
Namespace: DevExpress.XtraBars.Ribbon.Gallery
Assembly: DevExpress.XtraBars.v24.2.dll
Declaration
Property Value
Type | Default | Description |
---|---|---|
Boolean | false | true if gallery item images have the same display size as the biggest image; otherwise, false. |
Remarks
You can manually set the display size of gallery item images via the BaseGallery.ImageSize property.
However, it’s possible to allow the display size to be calculated automatically, based on the biggest image among gallery items. To accomplish this, set the UseMaxImageSize property to true. In this instance, the biggest image among all gallery items will be located. All other gallery item images will have the display size matching the size of the biggest image. If the UseMaxImageSize property is set to true, the BaseGallery.ImageSize property is ignored.