Back to Devexpress

BaseGallery.ItemSize Property

windowsforms-devexpress-dot-xtrabars-dot-ribbon-dot-gallery-dot-basegallery-ed92d2bc.md

latest1.8 KB
Original Source

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

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DXCategory("Behavior")]
public Size ItemSize { get; set; }
vb
<DXCategory("Behavior")>
Public Property ItemSize As Size

Property Value

TypeDescription
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

ItemAutoSizeMode

BaseGallery Class

BaseGallery Members

DevExpress.XtraBars.Ribbon.Gallery Namespace