Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

NuGet Package: DevExpress.Win.Navigation

#Declaration

[DefaultValue(true)]
[DXCategory("Behavior")]
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