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.ItemSize Property

Gets or sets the size of gallery items when item auto-sizing is disabled. The Width attribute is also in effect when the auto-height feature is enabled.

Namespace: DevExpress.XtraBars.Ribbon.Gallery

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

[DXCategory("Behavior")]
public Size ItemSize { get; set; }

#Property Value

Type Description
Size

The size of gallery items.

#Remarks

The Width and Height attributes of the ItemSize property are in effect when item auto-sizing is disabled (the BaseGallery.ItemAutoSizeMode property is set to None). The Width attribute is also in effect when the auto-height feature is enabled (the BaseGallery.ItemAutoSizeMode property is set to Vertical).

See Also