Skip to main content
A newer version of this page is available. .

BaseGallery.FixedImageSize Property

Gets or sets whether gallery item images have the same display size, as specified by the BaseGallery.ImageSize property.

Namespace: DevExpress.XtraBars.Ribbon.Gallery

Assembly: DevExpress.XtraBars.v19.2.dll

Declaration

[DXCategory("Behavior")]
[DefaultValue(true)]
public virtual bool FixedImageSize { get; set; }

Property Value

Type Default Description
Boolean **true**

true to display gallery item images in the same size; false to display gallery item images in their original size.

Remarks

If the FixedImageSize property is set to true, all gallery items have the same display size, as specified by the BaseGallery.ImageSize property. Otherwise, the gallery item images will have a display size matching the original image size. So, if using original images of different sizes, the display sizes will differ as well.

If the BaseGallery.UseMaxImageSize property is set to true, all gallery item images will have the same display size, matching the size of the largest image. The FixedImageSize and BaseGallery.ImageSize properties are ignored if the BaseGallery.UseMaxImageSize property is set to true.

See Also